Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pshipton opened this issue Sep 16, 2024 · 7 comments

Comments

@pshipton
Copy link
Member

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 #14243

@pshipton
Copy link
Member Author

@dmitripivkine fyi

@pshipton
Copy link
Member Author

@dmitripivkine
Copy link
Contributor

I have suspicion this is the same problem as #20150 I am working currently. And this is most likely the regression from #20132

@dmitripivkine
Copy link
Contributor

I am confident this is the same problem as #20150. However keeping in mind we have observed this problem before in #14243 we can have this item opened until #20150 is fixed.

@dmitripivkine
Copy link
Contributor

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 #20150.
However we observed this problem before in #14243, so keep this item opened for some time. It is possible there is a corner case somewhere we are missing.

@dmitripivkine
Copy link
Contributor

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

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants