openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

ASSERTION FAILED ClassLoaderManager.cpp:396 ((false && (!markMap->isBitSet(classObject))))

Open pshipton opened this issue 1 year ago • 5 comments

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/105 jdk_lang_j9_0 java/lang/invoke/defineHiddenClass/PreviewHiddenClass.java

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk17_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/105/openjdk_test_output.tar.gz

22:51:51 02:29:32.093 0x7f911c003c00 j9mm.107 * ** ASSERTION FAILED ** at /home/jenkins/workspace/Build_JDK17_x86-64_linux_Nightly/openj9/runtime/gc_base/ClassLoaderManager.cpp:396: ((false && (!markMap->isBitSet(classObject))))

Seen before in https://github.com/eclipse-openj9/openj9/issues/14243

pshipton avatar Sep 16 '24 17:09 pshipton

@dmitripivkine fyi

pshipton avatar Sep 16 '24 17:09 pshipton

Another in https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/208

pshipton avatar Sep 16 '24 17:09 pshipton

I have suspicion this is the same problem as https://github.com/eclipse-openj9/openj9/issues/20150 I am working currently. And this is most likely the regression from https://github.com/eclipse-openj9/openj9/pull/20132

dmitripivkine avatar Sep 16 '24 17:09 dmitripivkine

I am confident this is the same problem as https://github.com/eclipse-openj9/openj9/issues/20150. However keeping in mind we have observed this problem before in https://github.com/eclipse-openj9/openj9/issues/14243 we can have this item opened until https://github.com/eclipse-openj9/openj9/issues/20150 is fixed.

dmitripivkine avatar Sep 16 '24 19:09 dmitripivkine

Class detection in class loader in Balanced is done by scanning class loader hash table to discover classes for mixed objects and scanning array components lists from this mixed objects. In theory it should provide full coverage for class loader content. This assertion is triggered is there is class has not been reached during scan. I am sure last triggering was a result of regression fixed in https://github.com/eclipse-openj9/openj9/issues/20150. However we observed this problem before in https://github.com/eclipse-openj9/openj9/issues/14243, so keep this item opened for some time. It is possible there is a corner case somewhere we are missing.

dmitripivkine avatar Oct 07 '24 18:10 dmitripivkine

Looks like introduced regression has been fixed and there were no new occurrences for now. Closing.

dmitripivkine avatar Oct 28 '24 14:10 dmitripivkine

Issue Number: 20165 Status: Closed Actual Components: comp:gc, test failure Actual Assignees: No one :( PR Assignees: No one :(

github-actions[bot] avatar Oct 28 '24 14:10 github-actions[bot]