RFR:7191817:-XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X

Yumin Qi yumin.qi at oracle.com
Fri Dec 13 10:32:05 PST 2013

Please review the backport for 7191817 to jdk7u60:


Summary: Disable UseLargePages for BSD platforms.

Tests: JPRT, jtreg. Manual tests with

-XX:+UseSerialGC -XX:+UseLargePages -version

1) NO fix:

sc14ie05:jtreg btravers$ $J7/bin/java -XX:+UseSerialGC 
-XX:+UseLargePages -version
# A fatal error has been detected by the Java Runtime Environment:
#  SIGFPE (0x8) at pc=0x000000010ce027e0, pid=16984, tid=8195
# JRE version:  (7.0_60-b01) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.60-b03 mixed mode 
bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x27f7e0]  lcm(unsigned long, unsigned long)+0x1f
# Failed to write core dump. Core dumps have been disabled. To enable 
core dumping, try "ulimit -c unlimited" before starting Java again
# An error report file with more information is saved as:
# /Users/btravers/yqi/test/jtreg/hs_err_pid16984.log
Phoning home...
Abort trap: 6

2) FIX:
sc14ie05:jtreg btravers$ $J7/bin/java -XX:+UseSerialGC 
-XX:+UseLargePages -version
Java HotSpot(TM) 64-Bit Server VM warning: -XX:+UseLargePages is 
disabled in this release.
java version "1.7.0_60-ea"
Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b04-internal, mixed mode)


More information about the hotspot-runtime-dev mailing list