0

We hosted a java application in websphere 9 / jre 1.8. Intermittently JVM crash and generating the javacore. We are getting below error in java core , assertion failure error.

j9mm.141 - * ** ASSERTION FAILED ** AT LargeObjectAllocateStats.cpp:1126: ((false))**

GC History :
j9mm.621 - GC Assertion message: Calculated value of getSizeClassIndex() 133 can not be larger then maximum 122

j9mm.465 - CopyForward start

min heap size : 2GB
max heap size : 4GB
used heap size : 2GB at the time of GC
GC policy : balanced
Vinoth
  • 63
  • 4
  • 23
  • 1
    Is it possible that you are using the OpenJ9 JVM? – Holger Oct 10 '22 at 16:24
  • We are using IBM Websphere bundled jvm – Vinoth Oct 10 '22 at 16:28
  • 1
    I found https://www.ibm.com/support/pages/apar/IV61966 which suggests that the issue only occurs when `-Xgc:tlhMinimumSize=…` is used with a value `>512`. Though this issue is supposed to be fixed, but maybe, it’s a regression. – Holger Oct 10 '22 at 16:37
  • But we don’t have this jvm parameter set in our application – Vinoth Oct 10 '22 at 16:53
  • 1
    Maybe it’s helpful to tag the question with `openj9`, to attract the attention of readers with more experience in this area. – Holger Oct 10 '22 at 16:55
  • You should provide exact JVM version (output of command: java -version). You should check server.xml in your was profile folder for values of -Xgc:thlInitialSize and -Xgc:tlhMinimumSize. If not set standard values are 2048 and 512. You should install latest patches to WAS as that will install newer JVM. There are couple of APARs with this error and they all have been resolved in 2014. – Talijanac Oct 13 '22 at 07:37

1 Answers1

0

I don't see an existing GitHub issue, so I think your best bet would be to open a new user raised issue so that GC devs can triage it.

dsouzai
  • 46
  • 2
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/33407072) – Jan Krüger Dec 18 '22 at 21:59