United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7110824 ctw/jarfiles/GUI3rdParty_jar/ob_mask_DateField crashes VM
7110824 : ctw/jarfiles/GUI3rdParty_jar/ob_mask_DateField crashes VM

Details
Type:
Bug
Submit Date:
2011-11-11
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-03-29
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
hs23

Related Reports
Backport:
Backport:

Sub Tasks

Description
The test failed crashing the VM during HS23b05 JDK8 b13 PIT. Reproducible on solaris-sparcv9 only and only with '-server' and '-Xcomp' or '-Xmixed'. This is a C2 issue.

To reproduce,

1. ssh -luadmin to vm-t5440-01a
2. /net/sqenfs-1/export1/comp/vm/jdk/hsx/pit/8/fastdebug/solaris-sparcv9/bin/java -Xcomp -server -d64 -server -Xverify:all -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=1492 -XX:CompileTheWorldStopAt=1493 -XX:LogFile=hotspot_1492.log -XX:MaxPermSize=384M -Xmx512M -Xbootclasspath/p:/net/sqenfs-1.us.oracle.com/export1/comp/vm/testbase/ctw/full/jarfiles/GUI3rdParty.jar
I was not able reproduce the problem with specified instructions:

vm-t5440-01a% su - uadmin
Password: 
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# /net/sqenfs-1/export1/comp/vm/jdk/hsx/pit/8/fastdebug/solaris-sparcv9/bin/java -Xcomp -server -d64 -server -Xverify:all -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=1492 -XX:CompileTheWorldStopAt=1493 -XX:LogFile=hotspot_1492.log2 -XX:MaxPermSize=384M -Xmx512M -Xbootclasspath/p:/net/sqenfs-1.us.oracle.com/export1/comp/vm/testbase/ctw/full/jarfiles/GUI3rdParty.jar
VM option '+CompileTheWorld'
VM option 'CompileTheWorldStartAt=1492'
VM option 'CompileTheWorldStopAt=1493'
VM option 'LogFile=hotspot_1492.log2'
VM option 'MaxPermSize=384M'
CompileTheWorld : Compiling all classes in /net/sqenfs-1.us.oracle.com/export1/comp/vm/testbase/ctw/full/jarfiles/GUI3rdParty.jar

...

GetIcon
  name: images/low.gif
  klass: class javax.help.plaf.basic.BasicSearchCellRenderer
  URL is jar:file:/net/sqenfs-1.us.oracle.com/export1/comp/vm/testbase/ctw/full/jarfiles/GUI3rdParty.jar!/javax/help/plaf/basic/images/low.gif
  ImageIcon is null
CompileTheWorld (1492) : ob/mask/DateField
CompileTheWorld (1493) : ob/mask/DateRow
CompileTheWorld : Compiling all classes in /net/sqenfs-1/export1/jdk/vm/hsx/pit/8/fastdebug/solaris-sparcv9/jre/lib/resources.jar

CompileTheWorld : Done

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5da7201222d5
                                     
2012-03-22
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/5da7201222d5
                                     
2012-01-18
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/5da7201222d5
                                     
2012-01-07
EVALUATION

PhaseChaitin::yank_if_dead() can't handle nodes which load from constant table because MachConstantBase node could be spilled and Phi nodes are generated for it. In failing case loadConP_load node has Phi node as input and it is yanked since there is an other copy of the same constant load.

 10714  MachSpillCopy   === _  10279  [[ 10664 ]] 
 10633  Phi     ===  164  10632  10704  [[ 5080  5124  9925  9926  6050  10648  9964  6205  10660  10664 ]]  #rawptr:NotNull
 7078   Region  ===  7078  8410  8409  [[ 7078  8324  7084  7087  7090  7093  7101  7107  7116  10664 ]] 
 10664  Phi     ===  7078  10633  10714  [[ 10170 ]]  #rawptr:NotNull
 22     Start   ===  22  1  [[ ... ]]
 10170  loadConP_load   ===  22  10664  [[]] java/lang/NullPointerException:exact *  Oop:java/lang/NullPointerException:exact *
                                     
2012-01-05



Hardware and Software, Engineered to Work Together