JDK-6913296 : CTW with -XX:+AggressiveOpts fails jdk7-64bit/hotspot/src/share/vm/opto/matcher.cpp:1396
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: x86
  • Submitted: 2009-12-25
  • Updated: 2011-01-19
  • Resolved: 2010-01-05
Related Reports
Duplicate :  
Description
The issue is similar to CR6414932, likes it is the same assertion.

To rerpoduce run on solaris-sparcv9 :
/java/re/jdk/7/promoted/all/b78/binaries/solaris-sparcv9/fastdebug/bin/java +XX:+AggressiveOpts -XX:-ShowMessageBoxOnError -Xverify:all -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=102 -XX:CompileTheWorldStopAt=202 -XX:LogFile=hotspot_102_202.log -Xbootclasspath/p:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/build/../jars/ctw/jarfiles/acrobat.jar

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/matcher.cpp:1396
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/matcher.cpp:1396), pid=1198, tid=9
#  Error: assert(false,"bad AD file")
#
# JRE version: 7.0-b78
# Java VM: Java HotSpot(TM) Server VM (17.0-b05-fastdebug mixed mode solaris-sparc )
# An error report file with more information is saved as:
# /home/lm153972/hs_err_pid1198.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 9
Dumping core ...
Abort (core dumped)
% /java/re/jdk/7/promoted/all/b78/binaries/solaris-sparcv9/fastdebug/bin/java -XX:+AggressiveOpts -XX:-ShowMessageBoxOnError -Xverify:all -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=102 -XX:CompileTheWorldStopAt=202 -Xbootclasspath/p:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/build/../jars/ctw/jarfiles/acrobat.jar
VM option '+AggressiveOpts'
VM option '-ShowMessageBoxOnError'
VM option '+CompileTheWorld'
VM option 'CompileTheWorldStartAt=102'
VM option 'CompileTheWorldStopAt=202'
CompileTheWorld : Compiling all classes in /net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/jars/ctw/jarfiles/acrobat.jar

Preloading failed for (2) com/adobe/acrobat/bytearray/ByteArray
Preloading failed for (74) com/adobe/acrobat/file/FileByteArray
Preloading failed for (76) com/adobe/acrobat/file/FileByteArraySource
Preloading failed for (80) com/adobe/acrobat/file/RandomAccessFileStream
Preloading failed for (87) com/adobe/acrobat/file/URLByteStream
CompileTheWorld (102) : com/adobe/acrobat/filters/DCTStripPtrRec
CompileTheWorld (103) : com/adobe/acrobat/filters/DCTTables
CompileTheWorld (104) : com/adobe/acrobat/filters/DecodeInputStream
CompileTheWorld (105) : com/adobe/acrobat/filters/FilterDataFormatException
CompileTheWorld (106) : com/adobe/acrobat/filters/FilterParams
CompileTheWorld (107) : com/adobe/acrobat/filters/FlateInputStream
CompileTheWorld (108) : com/adobe/acrobat/filters/HuffTree
CompileTheWorld (109) : com/adobe/acrobat/filters/LZWEngine
CompileTheWorld (110) : com/adobe/acrobat/filters/LZWInputStream
CompileTheWorld (111) : com/adobe/acrobat/filters/MD5
CompileTheWorld (112) : com/adobe/acrobat/filters/RC4CmpatInputStream
CompileTheWorld (113) : com/adobe/acrobat/filters/RC4Engine
CompileTheWorld (114) : com/adobe/acrobat/filters/RunLengthInputStream
CompileTheWorld (115) : com/adobe/acrobat/filters/TableBase
CompileTheWorld (116) : com/adobe/acrobat/filters/TIFFEngine
CompileTheWorld (117) : com/adobe/acrobat/filters/TIFFInputStream
Preloading failed for (118) com/adobe/acrobat/gui/AboutDialog$SystemInfo
CompileTheWorld (118) : com/adobe/acrobat/gui/AboutDialog$SystemInfo
CompileTheWorld (119) : com/adobe/acrobat/gui/AboutDialog
o82     CMoveP  === o34 o83 o84  [[o69  4 ]]  #java/lang/String:NotNull:exact *  Oop:java/lang/String:NotNull:exact *

--N: o82        CMoveP  === o34 o83 o84  [[o69  4 ]]  #java/lang/String:NotNull:exact *  Oop:java/lang/String:NotNull:exact *

   --N: o83     Binary  === _ o79 o78  [[o82 ]] 
   _Binary_cmpOpU_flagsRegU  102  _Binary_cmpOpU_flagsRegU

      --N: o79  Bool    === _ o78  [[o83 ]] [lt]
      CMPOP  1  CMPOP
      CMPOPU  1  CMPOPU
      CMPOPP  1  CMPOPP
      CMPOP_REG  1  CMPOP_REG
      CMPOPF  1  CMPOPF
      CMPOP_COMMUTE  1  CMPOP_COMMUTE

      --N: o78  CmpU    === _ o39 o77  [[o79 o83 ]] 
      FLAGSREGU  101  compU_iReg_imm13

         --N: o39       Phi     === o34 o38 o23  [[o41 o78 ]]  #int
         IREGI  1  IREGI
         NOTEMP_IREGI  1  NOTEMP_IREGI
         O0REGI  2  O0REGI
         G1REGI  2  G1REGI
         G3REGI  2  G3REGI
         G4REGI  2  G4REGI
         O7REGI  2  O7REGI
         IREGISAFE  2  IREGISAFE
         STACKSLOTI  200  regI_to_stkI

         --N: o77       ConI    === o0  [[o78 ]]  #int:3
         IMMI  0  IMMI
         IMMI8  0  IMMI8
         IMMI13  0  IMMI13
         IMMI13M7  0  IMMI13M7
         IMMI16  0  IMMI16
         IMMU13  0  IMMU13
         IMMU6  0  IMMU6
         IMMI11  0  IMMI11
         IMMU5  0  IMMU5
         IMMI_1_31  0  IMMI_1_31
         IREGI  100  loadConI13
         NOTEMP_IREGI  102  loadConI13
         O0REGI  101  loadConI13
         G1REGI  101  loadConI13
         G3REGI  101  loadConI13
         G4REGI  101  loadConI13
         O7REGI  101  loadConI13
         IREGISAFE  101  loadConI13
         STACKSLOTI  300  regI_to_stkI

   --N: o84     Binary  === _ o66 o64  [[o82 ]] 
   _Binary_iRegP_iRegP  300  _Binary_iRegP_iRegP
   _Binary_iRegP_g3RegP  301  _Binary_iRegP_g3RegP
   _Binary_o0RegP_o1RegP  302  _Binary_o0RegP_o1RegP

      --N: o66  ConP    === o0  [[o84 ]]  #java/lang/String:exact *  Oop:java/lang/String:exact *
      IMMP  5  IMMP
      IREGP  150  loadConP
      SP_PTR_REGP  151  loadConP
      LOCK_PTR_REGP  152  loadConP
      G1REGP  151  loadConP
      G2REGP  151  loadConP
      G3REGP  151  loadConP
      G4REGP  151  loadConP
      I0REGP  151  loadConP
      O0REGP  151  loadConP
      O1REGP  151  loadConP
      O2REGP  151  loadConP
      O7REGP  151  loadConP
      L7REGP  151  loadConP
      INLINE_CACHE_REGP  151  loadConP
      INTERPRETER_METHOD_OOP_REGP  151  loadConP
      INDIRECT  251  loadConP
      STACKSLOTP  350  regP_to_stkP
      MEMORY  251  INDIRECT

      --N: o64  ConP    === o0  [[o84 ]]  #java/lang/String:exact *  Oop:java/lang/String:exact *
      IMMP  5  IMMP
      IREGP  150  loadConP
      SP_PTR_REGP  151  loadConP
      LOCK_PTR_REGP  152  loadConP
      G1REGP  151  loadConP
      G2REGP  151  loadConP
      G3REGP  151  loadConP
      G4REGP  151  loadConP
      I0REGP  151  loadConP
      O0REGP  151  loadConP
      O1REGP  151  loadConP
      O2REGP  151  loadConP
      O7REGP  151  loadConP
      L7REGP  151  loadConP
      INLINE_CACHE_REGP  151  loadConP
      INTERPRETER_METHOD_OOP_REGP  151  loadConP
      INDIRECT  251  loadConP
      STACKSLOTP  350  regP_to_stkP
      MEMORY  251  INDIRECT

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/matcher.cpp:1396
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/matcher.cpp:1396), pid=26920, tid=93
#  Error: assert(false,"bad AD file")
#
# JRE version: 7.0-b78
# Java VM: Java HotSpot(TM) Server VM (17.0-b05-fastdebug mixed mode solaris-sparc )
# An error report file with more information is saved as:
# /export/kvn/hs_err_pid26920.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#