-
Notifications
You must be signed in to change notification settings - Fork 722
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
serviceability_jvmti_j9_0 FAILED serviceability/jvmti/GetMethodDeclaringClass/TestUnloadedClass.java 'OutOfMemoryError' missing from stdout/stderr #20676
Comments
Issue Number: 20676 |
This is a new test added by 8339725: Concurrent GC crashed due to GetMethodDeclaringClass. There is an assertion.
|
@dmitripivkine pls take a look. |
An assertion occur an attempt to scan JNI Local References
There are ~200000 elements in this pool and most of them (if not all) are class objects for |
I do see class unloading but not last but previous Global GC. So next one should discover the problem but it wasn't. It means theory with just created class unloaded might not fit. Any way, somehow we got class object from unloaded class |
There are lot of failures in the grinder. I did check a few of them. The problem is the same, 0xffffffffffffffff in JNI Local References pool. Looks like previous GC doing class unloading and current one (Global or Local) crashed. I can not find another case where there is one extra GC survived between class unloading and crash. I guess it is possible if this middle GC happened before JNI Local Ref is added to the pool. Also noticed (not sure is it related) there is warning for very last (crashed) GC in verbose log:
|
@tajila this needs some attention. |
@hangshao0 Please take a look |
@fengxue-IS will look at this. |
Failure link
From internal Test_openjdk21_j9_extended.openjdk_ppc64le_linux_testList_1 (rtj-rhel8le-rtp-test-8kd6c-1)
Rerun in Grinder - Change TARGET to run only the failed test targets
Optional info
Failure output (captured from console output)
The existing code 134 means a SIGABRT signal.
50x internal Grinder - fails 100%
The text was updated successfully, but these errors were encountered: