我从 tomcat 进程中获取hs_err_pid 致命日志,并且在日志中显示
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 1035152 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:215), pid=2060, tid=3980
# Error: Chunk::new
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Server VM (17.0-b17 mixed mode windows-x86 )
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
我的问题不是专门针对 OutOfMemoryError,而是关于如何解释该Chunk::new
短语。
我在这里看到双冒号显然是 Java 中的运算符,但我不确定它的作用。会不会和我的情况有关?