Tencent / TencentKona-8

Tencent Kona is a no-cost, production-ready distribution of the Open Java Development Kit (OpenJDK), Long-term support(LTS) with quarterly updates. Tencent Kona serves as the default JDK internally at Tencent Cloud for cloud computing and other Java applications.
Other
946 stars 146 forks source link

打开AppCDS,运行specpower时报错 fatal error #147

Open zhang-3 opened 1 month ago

zhang-3 commented 1 month ago

运行specpower2008。 lst文件成功生成。 第二步执行Creating the AppCDS archive时出现error, 报错信息:

A fatal error has been detected by the Java Runtime Environment:

Internal Error (systemDictionary.cpp:1037), pid=141333, tid=0x00007f871057e700

guarantee(!DumpSharedSpaces) failed: must not create anonymous classes when dumping

JRE version: OpenJDK Runtime Environment (8.0_412) (build 1.8.0_412-internal-xxx_2024_10_11_17_19-b00)

Java VM: OpenJDK 64-Bit Server VM (25.412-b00 interpreted mode linux-amd64 compressed oops)

Core dump written. Default location: SPECpower_ssj2008_sut_WKY/ssj/core or core.141333

An error report file with more information is saved as:

SPECpower_ssj2008_sut_WKY/ssj/hs_err_pid141333.log

#

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp

# ./CDS2_runssj_jdk_whole.sh: line 97: 141333 Aborted $JAVA -Xshare:dump -XX:+UseAppCDS -XX:SharedClassListFile=specpower_director.lst -XX:SharedArchiveFile=specpower_director.jsa -cp ${CP} $JAVAOPTIONS_DIRECTOR org.spec.power.ssj.Director -propfile $DIRECTOR_PROPFILE

无法生成jsa文件。 请问这个error如何解决?

zhang-3 commented 1 month ago

重新粘贴报错信息:

A fatal error has been detected by the Java Runtime Environment:

Internal Error (systemDictionary.cpp:1037), pid=141333, tid=0x00007f871057e700
guarantee(!DumpSharedSpaces) failed: must not create anonymous classes when dumping

JRE version: OpenJDK Runtime Environment (8.0_412) (build 1.8.0_412-internal-xxx_2024_10_11_17_19-b00)
Java VM: OpenJDK 64-Bit Server VM (25.412-b00 interpreted mode linux-amd64 compressed oops)
Core dump written. Default location: SPECpower_ssj2008_sut_WKY/ssj/core or core.141333

An error report file with more information is saved as: SPECpower_ssj2008_sut_WKY/ssj/hs_err_pid141333.log

If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp

./CDS2_runssj_jdk_whole.sh: line 97: 141333 Aborted $JAVA -Xshare:dump -XX:+UseAppCDS -XX:SharedClassListFile=specpower_director.lst -XX:SharedArchiveFile=specpower_director.jsa -cp ${CP} $JAVAOPTIONS_DIRECTOR org.spec.power.ssj.Director -propfile $DIRECTOR_PROPFILE

shiyuexw commented 1 month ago

麻烦贴一下dump list