Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6858208
Votes 0
Synopsis jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Category hotspot:runtime_system
Reported Against
Release Fixed 6u16-rev(b03), hs17(b02) (Bug ID:2182331) , 6u18(b04) (Bug ID:2183345) , 7(b73) (Bug ID:2183586)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 08-JUL-2009
Description
VM will crash when specifying TypeProfileWidth=0 on jdk 6u13.

Reproduction:
A is just a class name that does not exist.
---------->
[  xxxxx@xxxxx   J810038]$ ~/XXXXX/jdk6_13/bin/java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

[  xxxxx@xxxxx   J810038]$ ~/XXXXX/jdk6_13/bin/java -server -XX:TypeProfileWidth=0 -Xcomp A
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (ciMethodData.cpp:130), pid=28256, tid=1085491552
#  Error: ShouldNotReachHere()
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 compiled mode linux-amd64)
# An error report file with more information is saved as:
# /XXXXX/hs_err_pid28256.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
<----------

The problem was also seen on jdk 6u14 for Windows.
Posted Date : 2009-07-08 06:03:31.0
Work Around
N/A
Evaluation
Adding an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() and do nothing if TypeProfileWidth is 0 would resolve this issue.
Posted Date : 2009-08-03 09:43:56.0

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/6918603297f7
Posted Date : 2009-09-02 09:27:02.0

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/6918603297f7
Posted Date : 2009-09-25 06:36:09.0

http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/47ca7aa20d97
Posted Date : 2009-10-22 01:55:52.0

http://hg.openjdk.java.net/hsx/hsx16/master/rev/47ca7aa20d97
Posted Date : 2009-10-22 08:06:30.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang