[root@VM20190228-137 dw8]# java -version ; java -Xinternalversion
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.16.17) (build 1.8.0_382-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.16.17) (build 25.382-b01, mixed mode)
OpenJDK 64-Bit Server VM (25.382-b01) for linux-amd64 JRE (1.8.0_382-b01), built on Aug 4 2023 07:24:01 by "jenkins" with gcc 7.5.0
[root@VM20190228-137 a8]# java -version ; java -Xinternalversion
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba 8.20.24) (build 1.8.0_372-b775)
OpenJDK 64-Bit Server VM (Alibaba 8.20.24) (build 25.372-b775, mixed mode)
OpenJDK 64-Bit Server VM (25.372-b775) for linux-amd64 JRE (1.8.0_372-b775), built on Jun 8 2023 03:59:29 by "root" with gcc 4.8.2 20140120 (Red Hat 4.8.2-15)
错误日志:
sun/tools/jinfo/Basic.sh
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Basic.sh
TIME: 3.01 seconds
messages:
command: shell Basic.sh
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 3.01
STDOUT:
INFO: waiting for SimpleApplication to initialize...
INFO: SimpleApplication is process 562106
INFO: SimpleApplication output is in /tmp/tone/run/jtreg/jt-work/jdk_test/classes/116/sun/tools/jinfo/Application.out
Attaching to process ID 562106, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.372-b-internal
Attaching to process ID 562106, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.372-b-internal
Non-default VM flags: -XX:CICompilerCount=21 -XX:InitialHeapSize=2147483648 -XX:MaxHeapSize=32210157568 -XX:MaxNewSize=7241007104 -XX:MaxTenuringThreshold=6 -XX:MinHeapDeltaBytes=196608 -XX:NewSize=715784192 -XX:OldPLABSize=16 -XX:OldSize=1431699456 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UsePerfData
Command line: -XX:+UsePerfData
Attaching to process ID 562106, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.372-b-internal
Java System Properties:
-XX:-PrintGC
INFO: Port number of SimpleApplication: 34613
INFO: Connecting to port 34613 to shutdown SimpleApplication ...
INFO: done connecting to SimpleApplication.
INFO: waiting for 562106
STDERR:
sysctl: cannot stat /proc/sys/kernel/yama/ptrace_scope: No such file or directory
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:82)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:108)
at sun.tools.jinfo.JInfo.main(JInfo.java:76)
Caused by: java.lang.InternalError: Metadata does not appear to be polymorphic
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddress(BasicTypeDataBase.java:278)
at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:102)
at sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:68)
at sun.jvm.hotspot.memory.SystemDictionary.getSystemKlass(SystemDictionary.java:127)
at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:908)
at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:902)
at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:44)
at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:94)
at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:138)
... 6 more
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:82)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:108)
at sun.tools.jinfo.JInfo.main(JInfo.java:76)
Caused by: java.lang.InternalError: Metadata does not appear to be polymorphic
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddress(BasicTypeDataBase.java:278)
at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:102)
at sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:68)
at sun.jvm.hotspot.memory.SystemDictionary.getSystemKlass(SystemDictionary.java:127)
at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:908)
at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:902)
at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:44)
at sun.jvm.hotspot.tools.JInfo$1.run(JInfo.java:79)
at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:94)
at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:138)
... 6 more
rerun:
x86-64:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/221565?tab=1 aarch64:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/221566?tab=2 Steps to Reproduce Steps to reproduce the behavior:
[对比测试]
dragonwell8 测试通过 Alibaba_Dragonwell_Extended_8.16.17_x64_linux.tar.gz
ajdk8 正式版( 8.20.24 ) 测试通过 OpenJDK8U-jdk_x64_linux_ajdk_2023-06-08-03-43.tar.gz
错误日志: sun/tools/jinfo/Basic.sh