STDERR:
stdout: [Error occurred during initialization of VM
Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off.
];
stderr: []
exitValue = 1
java.lang.RuntimeException: 'Failed allocating metaspace object type' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:150)
at TestDumpAndLoadClass.dumpArchive(TestDumpAndLoadClass.java:130)
at TestDumpAndLoadClass.main(TestDumpAndLoadClass.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:855)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Failed allocating metaspace object type' missing from stdout/stderr
JavaTest Message: shutting down test
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/209172?tab=1 Steps to Reproduce Steps to reproduce the behavior:
dragonwell失败日志: TestDumpAndLoadClass.java.log 关键错误信息:
使用-Xmixed选项:未出现错误,成功pass
错误相同的用例:
环境信息: