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

jdk_jdi_jdk8 fails because of TestClassLoaderLeak.java failed when GC cycles are not happening #3572

Open
ChangLu0607 opened this issue Apr 13, 2022 · 5 comments

Comments

@ChangLu0607
Copy link

ChangLu0607 commented Apr 13, 2022

Describe the bug
TestClassLoaderLeak.java faild with JDK8 hotspot

To Reproduce
make _jdk_jdi_jdk8_0

Expected behavior
all test cases pass

Screenshots
image

Additional context
realated issue in latest version of openJDK: https://bugs.openjdk.java.net/browse/JDK-8274563
openjdk/jdk@47bfc8a
locally verified this patch solved this failure

@sophia-guo
Copy link
Contributor

sophia-guo commented Apr 26, 2022

Test passed in adoptium recent release build with temurin https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/37/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/.

@ChangLu0607 are you using the recent jdk8 release branch?

@sophia-guo
Copy link
Contributor

@ChangLu0607
Copy link
Author

ChangLu0607 commented May 6, 2022

@sophia-guo I believe that you are looking at an other failed test case. BiSheng JDK also pass this test case in adoptium. So I believe it may be a environment setting problem that makes the test case failed intermittently. And according to the modification from adopt openjdk community can make the test case more relible

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_bisheng_extended.openjdk_aarch64_linux/lastCompletedBuild/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/

Test did fail in recent run in adoptium with bisheng jdk.

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_bisheng_sanity.openjdk_x86-64_linux/124/testReport/com_sun_jdi_RedefineCrossEvent/java/RedefineCrossEvent

@sophia-guo
Copy link
Contributor

Yes, I was looking at the other failed test case for another issue. The test passed in adoptium bisheng build. https://ci.adoptopenjdk.net/job/Test_openjdk8_bisheng_extended.openjdk_x86-64_linux_testList_1/28/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/

@sendaoYan
Copy link
Contributor

sendaoYan commented Jul 25, 2022

I think it's a testcae bug for this fail.

Should we disable this testcase by add this testcase to openjdk/excludes/ProblemList_openjdk8.txt ?

image

image

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

No branches or pull requests

3 participants