-
Bug
-
Resolution: Fixed
-
P3
-
6u18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2187052 | 7 | Jon Masamitsu | P3 | Closed | Fixed | b79 |
JDK-2189883 | 6u21 | Jon Masamitsu | P3 | Resolved | Fixed | b01 |
JDK-2184996 | 6u18 | Jon Masamitsu | P3 | Closed | Fixed | b05 |
JDK-2184766 | hs16 | Jon Masamitsu | P2 | Closed | Fixed | b12 |
FULL PRODUCT VERSION :
java version "1.6.0_18-ea"
Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b11, mixed mode)
FULL OS VERSION :
Fedora 11, output of uname -a:
Linux mac 2.6.30.9-90.fc11.x86_64 #1 SMP Sat Oct 17 11:25:35 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Execute java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC. With JDK6u16, the Usage help text is shown. With JDK6u18b04, the output is:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 14411518807585536 bytes for HeapWord* in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp. Out of swap space?
#
# Internal Error (allocation.inline.hpp:39), pid=17403, tid=139739792140560
# Error: HeapWord* in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
#
# JRE version: 6.0_18-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b11 mixed mode linux-amd64 )
# An error report file with more information is saved as:
# /home/ijuma/Download/jdk/hs_err_pid17403.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
zsh: abort java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC (or any application with -XX:NewRatio and -XX:UseConcMarkSweepGC)
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected the usage help output to be shown, as it is with JDK6u16.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Do not use -XX:NewRatio when using -XX:+UseConcMarkSweepGC.
Release Regression From : 6u16
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
java version "1.6.0_18-ea"
Java(TM) SE Runtime Environment (build 1.6.0_18-ea-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b11, mixed mode)
FULL OS VERSION :
Fedora 11, output of uname -a:
Linux mac 2.6.30.9-90.fc11.x86_64 #1 SMP Sat Oct 17 11:25:35 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Execute java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC. With JDK6u16, the Usage help text is shown. With JDK6u18b04, the output is:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 14411518807585536 bytes for HeapWord* in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp. Out of swap space?
#
# Internal Error (allocation.inline.hpp:39), pid=17403, tid=139739792140560
# Error: HeapWord* in /BUILD_AREA/jdk6_18/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
#
# JRE version: 6.0_18-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b11 mixed mode linux-amd64 )
# An error report file with more information is saved as:
# /home/ijuma/Download/jdk/hs_err_pid17403.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
zsh: abort java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute java -XX:NewRatio=6 -XX:+UseConcMarkSweepGC (or any application with -XX:NewRatio and -XX:UseConcMarkSweepGC)
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected the usage help output to be shown, as it is with JDK6u16.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Do not use -XX:NewRatio when using -XX:+UseConcMarkSweepGC.
Release Regression From : 6u16
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
- backported by
-
JDK-2189883 [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
- Resolved
-
JDK-2184766 [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
- Closed
-
JDK-2184996 [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
- Closed
-
JDK-2187052 [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
- Closed
- relates to
-
JDK-6862534 -XX:NewRatio completely ignored when combined with -XX:+UseConcMarkSweepGC
- Closed