Duplicate :
|
COOPs crashes when PermSize is too large. > java -d64 -XX:+UseCompressedOops -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode -XX:MaxPermSize=32g -version Protected page at the reserved heap base: 0xfffffd71c0000000 / 65536 bytes heap address: 0xfffffd71c0010000, Compressed Oops with base: 0xfffffd71c000f000 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xfffffd7ff5feddfe, pid=1577, tid=2 # # JRE version: 7.0-b121 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b03 mixed mode solaris-amd64 compressed oops) Fastdebug version fails with assertion # Internal Error (/export/HUDSON/workspace/jdk7-2-build-solaris-amd64-product/jdk7/hotspot/src/share/vm/oops/oop.inline.hpp:160), pid=1579, tid=2 # assert(OopEncodingHeapMax > pd) failed: change encoding max if new encoding # Running with big Xmx works fine, 64bit opps are used, warning is printed: > Java HotSpot(TM) 64-Bit Server VM warning: Max heap size too large for Compressed Oops