-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 25
-
Component/s: core-svc
-
linux
ADDITIONAL SYSTEM INFORMATION :
-Dspring.profiles.active=online
-XX:HeapDumpPath=[DATA-FOLDER]/logs/java.hprof
-DLOGS_DIR=[DATA-FOLDER]/logs
-Dsohu.cloud.metrics.autoPath=[DATA-FOLDER]/logs
-javaagent:[TRANSMITTABLE-AGENT]/transmittable-thread-local-2.14.3.jar
-Xss256k
-XX:+UseZGC
-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=512m
-Xmx10g
-Xms10g
-XX:MaxDirectMemorySize=22g
-XX:+ZGenerational
-XX:+AlwaysPreTouch
-Xlog:gc*=info:file=[DATA-FOLDER]/logs/gc.log:time,uptimemillis,level,tags:filecount=4,filesize=200M
-XX:MaxGCPauseMillis=100
-XX:+HeapDumpOnOutOfMemoryError
-XX:ErrorFile=[DATA-FOLDER]/logs/hs_err_pid%p.log
-Xlog:gc+heap=info
-XX:+UseStringDeduplication
-XX:+DisableExplicitGC
-XX:+PrintCommandLineFlags
-XX:-OmitStackTraceInFastThrow
-Dcsp.sentinel.log.dir=[DATA-FOLDER]/logs/csp/
-Djava.awt.headless=true
-Djdk.virtualThreadScheduler.parallelism=32
-Djava.net.preferIPv4Stack=true
-Djava.util.Arrays.useLegacyMergeSort=true
-Dfile.encoding=UTF-8
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
--add-opens=java.management/sun.management=ALL-UNNAMED
--enable-native-access=ALL-UNNAMED
-javaagent:[PINPOINT-AGENT]/pinpoint-bootstrap.jar
-Dpinpoint.log=[DATA-FOLDER]/logs
-Dpinpoint.agentId=[ID]
-Dpinpoint.applicationName=[APP-NAME]
[DEPLOY-SERVICE]/[APP-NAME]/[APP-NAME].jar
A DESCRIPTION OF THE PROBLEM :
The crash is intermittent: sometimes it occurs within a week, while in other cases it may take up to a month to reproduce.
The following conditions may be relevant:
1 Some I/O-related threads are implemented using virtual threads.
2 The application makes use of ScopedValue.
3 The application is compiled using JDK 25, with --release 21, and runs on JDK 25.
I noticed what appears to be a related existing issue:
https://bugs.openjdk.org/browse/JDK-8346980
I am reporting this primarily to provide an hs_err file, in the hope that it may help with diagnosing or resolving the underlying problem.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I can't reproduce this issue.
FREQUENCY :
RARELY
-Dspring.profiles.active=online
-XX:HeapDumpPath=[DATA-FOLDER]/logs/java.hprof
-DLOGS_DIR=[DATA-FOLDER]/logs
-Dsohu.cloud.metrics.autoPath=[DATA-FOLDER]/logs
-javaagent:[TRANSMITTABLE-AGENT]/transmittable-thread-local-2.14.3.jar
-Xss256k
-XX:+UseZGC
-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=512m
-Xmx10g
-Xms10g
-XX:MaxDirectMemorySize=22g
-XX:+ZGenerational
-XX:+AlwaysPreTouch
-Xlog:gc*=info:file=[DATA-FOLDER]/logs/gc.log:time,uptimemillis,level,tags:filecount=4,filesize=200M
-XX:MaxGCPauseMillis=100
-XX:+HeapDumpOnOutOfMemoryError
-XX:ErrorFile=[DATA-FOLDER]/logs/hs_err_pid%p.log
-Xlog:gc+heap=info
-XX:+UseStringDeduplication
-XX:+DisableExplicitGC
-XX:+PrintCommandLineFlags
-XX:-OmitStackTraceInFastThrow
-Dcsp.sentinel.log.dir=[DATA-FOLDER]/logs/csp/
-Djava.awt.headless=true
-Djdk.virtualThreadScheduler.parallelism=32
-Djava.net.preferIPv4Stack=true
-Djava.util.Arrays.useLegacyMergeSort=true
-Dfile.encoding=UTF-8
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
--add-opens=java.management/sun.management=ALL-UNNAMED
--enable-native-access=ALL-UNNAMED
-javaagent:[PINPOINT-AGENT]/pinpoint-bootstrap.jar
-Dpinpoint.log=[DATA-FOLDER]/logs
-Dpinpoint.agentId=[ID]
-Dpinpoint.applicationName=[APP-NAME]
[DEPLOY-SERVICE]/[APP-NAME]/[APP-NAME].jar
A DESCRIPTION OF THE PROBLEM :
The crash is intermittent: sometimes it occurs within a week, while in other cases it may take up to a month to reproduce.
The following conditions may be relevant:
1 Some I/O-related threads are implemented using virtual threads.
2 The application makes use of ScopedValue.
3 The application is compiled using JDK 25, with --release 21, and runs on JDK 25.
I noticed what appears to be a related existing issue:
https://bugs.openjdk.org/browse/JDK-8346980
I am reporting this primarily to provide an hs_err file, in the hope that it may help with diagnosing or resolving the underlying problem.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I can't reproduce this issue.
FREQUENCY :
RARELY
- relates to
-
JDK-8346980 JVM crashes when Prometheus collects thread status information through actuator
-
- Open
-