JDK-8230419 : [Graal] serviceability/sa/ClhsdbInspect.java fails with Graal
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12,13,14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2019-09-02
  • Updated: 2020-07-13
  • Resolved: 2020-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8230129 :  
Description
TEST: serviceability/sa/ClhsdbInspect.java 

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr 

STDOUT: 
Starting the ClhsdbInspect test 
........ 
hsdb> Error: sun.jvm.hotspot.debugger.UnmappedAddressException: ffe80f7c0 
hsdb> 
line 145: 
cmd=inspect 0x00000000ffd02790 
jdk.test.lib.process.OutputAnalyzer@64d22619 
STDERR: 
Command line: ['/home/leijin01/workspace/openjdk/build/linux-aarch64-server-slowdebug/images/jdk/bin/java' '-ea' '-esa' '-Xmx768m' '-server' '-XX:+UnlockExperimentalVMOptions' '-XX:+EnableJVMCI' '-XX:+UseJVMCICompiler' '-Djvmci.Compiler=graal' '-Djdk.test.docker.image.name=ubuntu' '-Djdk.test.docker.image.version=18.04' '-Djava.net.preferIPv4Stack=true' '-cp' '/home/leijin01/workspace/ci_scripts/jtworks/classes/0/serviceability/sa/ClhsdbInspect.d:/home/leijin01/workspace/ci_scripts/jtworks/classes/0/test/lib' 'LingeredAppWithLock' 'ba3a2350-1b67-4f18-9ce7-2179892ef553.lck' ] 
........... 
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr
at ClhsdbInspect.main(ClhsdbInspect.java:101) 
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.base/java.lang.reflect.Method.invoke(Method.java:567) 
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) 
at java.base/java.lang.Thread.run(Thread.java:830) 
Caused by: java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr 
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:293) 
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:153) 
at ClhsdbLauncher.run(ClhsdbLauncher.java:202) 
at ClhsdbInspect.main(ClhsdbInspect.java:96) 
... 6 more 
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'instance of Oop for java/lang/ref/ReferenceQueue\$Lock' missing from stdout/stderr 
Comments
serviceability/sa/ClhsdbInspect.java is already part of ProblemList-graal.txt, so going to close this bug as duplicate of 8207267.
13-07-2020

[~epavlova], since you were working on cleaning up Graal testing and consolidation of known failures under umbrella bugs, I'm assigning this and some other unassigned Graal (alleged) test bugs to you.
02-07-2020

ILW = Test fails due to unexpected GC (test bug), single test with Graal as JIT, no workaround (but execute with different JIT) = MLH = P4
02-09-2019