United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6486391 bad immediate dominator info after nips.blocker
JDK-6486391 : bad immediate dominator info after nips.blocker

Details
Type:
Bug
Submit Date:
2006-10-25
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2007-06-20
Component:
hotspot
OS:
solaris_9
Sub-Component:
compiler
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10 (b14)

Related Reports
Backport:
Backport:

Sub Tasks

Description
I was doing CTW runs with -d64 and tripped across a failure from nips.blockers.

CompileTheWorld (42) : symantec/tools/debug/RemoteValue
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/loopnode.hpp:573]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (/net/prt-solamd64-q1-4/PrtBuildDir/workspace/src/share/vm/opto/loopnode.hpp, 573), pid=21391, tid=11
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20060905093858.nips.blockers-debug mixed mode)
#
# Error: assert(n != 0L,"Bad immediate dominator info.")
# An error report file with more information is saved as hs_err_pid21391.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


You can reproduce it with this:

java -d64 -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=42 -Xbootclasspath/p:/net/vmsqe.sfbay/export/backup/testbase/CompileTheWorld/jarfiles/scd10.jar

                                    

Comments
EVALUATION

reassociate_invariants used wrong method to register new
node which failed to add the new node to the member list of the loop
it was nested in. The loop was subsequently cloned into a
pre/main/post which didn't clone the new node correctly, causing the error.
                                     
2006-10-26
WORK AROUND

-XX:-ReassociateInvariants
                                     
2007-02-27
SUGGESTED FIX

PRT data:               /net/prt-web.sfbay/prt-workspaces/20070602140922.nips.bug6486391
Archived data:          /net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2007/20070602140922.nips.bug6486391/
                                     
2007-06-04



Hardware and Software, Engineered to Work Together