JDK-7146442 : assert(false) failed: bad AD file
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8-pool
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-17
  • Updated: 2013-06-26
  • Resolved: 2012-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
[Loaded javasoft.sqe.javatest.Status from file:/export/local/common/testbase/bigapps/runThese/tests/jck/jck-15a/JCK/classes/]
[Loaded javasoft.sqe.javatest.lib.MultiStatus from file:/export/local/common/testbase/bigapps/runThese/tests/jck/jck-15a/JCK/classes/]
[Loaded java.util.LinkedList$ListItr from /export/home/local/common/jdk/baseline/solaris-sparcv9/jre/lib/rt.jar]
Default case invoked for: 
   opcode  = 68, "Con"
o1	Con	=== o0  [[]]  #top

--N: o1	Con	=== o0  [[]]  #top

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/matcher.cpp:1512
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (/tmp/jprt/P1/083844.rwestrel/source/src/share/vm/opto/matcher.cpp:1512), pid=14881, tid=36
#  assert(false) failed: bad AD file
# JRE version: 7.0_04-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b15-internal-201202160838.rwestrel.hotspot-fastdebug compiled mode solaris-sparc )
# Core dump written. Default location: /export/home/local/58211.JDK7.NIGHTLY.VM_solaris-sparcv9_bigapps_server_comp_runThese/results/runThese/core or core.14881

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/9a72c7ece7fb

EVALUATION http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/eac434b01c4c

EVALUATION EA code in find_init_values() is incorrect. It does not check for related loads which could load NULL value from just allocated object before stores. As result compare pointers (vs NULL) optimization could be incorrect. Take into account only stores captured by Initialize node. Also added missing check for Top input in value() methods for CastP2X and CastX2P nodes.

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/9a72c7ece7fb

EVALUATION Looks like dead cardmark store. CastP2X input is TOP but it is not eliminated: o940 Region === o940 o969 o1018 [[o940 o941 o942 o943 o338 o291 ]] o291 Initialize === o940 o1 o294 o1 o1 o1 o338 [[o292 o293 ]] o292 Proj === o291 [[o402 o295 o342 o1007 o405 o347 o371 o908 o913 ]] #0 o343 ConI === o0 [[o344 o742 o403 o686 ]] #int:9 o402 CastP2X === o292 o1 [[o403 ]] o403 URShiftL === _ o402 o343 [[o404 ]] o345 ConP === o0 [[o346 o743 o404 o687 ]] #0xfffffcfff3c09000 o404 AddP === _ o1 o345 o403 [[o405 ]] o22 ConI === o0 [[o967 o744 o996 o997 o967 o688 o900 o898 o405 o997 o347 ]] #int:0 o405 StoreB === o292 o347 o404 o22 [[o456 o908 o913 o922 32 ]] @rawptr:BotPTR, idx=Raw; Memory: @rawptr:BotPTR, idx=Raw;