-
Notifications
You must be signed in to change notification settings - Fork 721
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
Failing JTReg: test/jdk/java/lang/ref/NullQueue.java #7251
Comments
Likely Hotspot specific. |
Thanks for replying to this @pshipton! Just to dot the I's and cross the T's, how did you come to this conclusion? |
FYI, /test/jdk/java/lang/ref/OOMEInReferenceHandler.java fails in the same way.
|
OpenJ9 is an independent implementation. It seems the "Reference Handler" thread is related to the Hotspot implementation of java.lang.ref.Reference, and OpenJ9 has it's own implementation that doesn't use a thread with this name. |
Since the test is looking for a specific thread and to avoid making the code specific to one implementation, I will perm exclude this and OOMEInReferenceHandler.java from openj9 testing. |
https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/b44d19c4cbca42541aef5132f21870c1b924a68c/test/jdk/java/lang/ref/ReachabilityFenceTest.java#L1 is also using the hotspot implementation. Will perm exclude this too
|
@M-Davies how do we know ReachabilityFenceTest is also Hotspot specific? I can't tell from the stack trace. |
It's using a Hotspot implementation of getBoolean() to find a specific variable. It returns false when it cannot find it and throws an error later in the test when an if statement checks if it exists |
Failure link
https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/502ab02dbda2e8b021cffedc3f52e25246cdeec1/test/jdk/java/lang/ref/NullQueue.java#L1 fails for JDK8/11-openj9 (test can't be found for JDK13 and hotspot is unaffected)
Optional info
Failure output (captured from console output)
Rerun test: https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=openj9&BUILD_LIST=openjdk&JenkinsFile=openjdk_x86-64_linux&CUSTOM_TARGET=test/jdk/java/lang/ref/NullQueue.java&TARGET=jdk_custom_0
openjdk_test_output (1).tar.gz
The text was updated successfully, but these errors were encountered: