United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7146442 assert(false) failed: bad AD file
JDK-7146442 : assert(false) failed: bad AD file

Details
Type:
Bug
Submit Date:
2012-02-17
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2012-03-07
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
8-pool
Fixed Versions:
hs24 (b02)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
[Enter:javasoft.sqe.tests.api.java.util.concurrent.LinkedListTest]
[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
#

                                    

Comments
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.
                                     
2012-02-22
EVALUATION

http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/eac434b01c4c
                                     
2012-03-07
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/9a72c7ece7fb
                                     
2012-03-22
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;
                                     
2012-02-17
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/9a72c7ece7fb
                                     
2012-02-22



Hardware and Software, Engineered to Work Together