United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6851386 assert(b->find_node(def) < j,"uses must follow definitions")
JDK-6851386 : assert(b->find_node(def) < j,"uses must follow definitions")

Details
Type:
Bug
Submit Date:
2009-06-15
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs16 (b08)

Related Reports
Backport:
Backport:

Sub Tasks

Description
During my work on 6840775 I tried different tests which could be related to the possible fix.
So I ran the test from 5071820 TP833_3.java and got this assert.
The assert was added as part of the fix for 6791852.

/java/re/jdk/7/latest/binaries/solaris-i586/fastdebug/bin/java -server -Xcomp -XX:LoopOptsCount=0 -XX:CompileOnly=TP833_3 -XX:+PrintCompilation TP833_3
VM option 'LoopOptsCount=0'
VM option 'CompileOnly=TP833_3'
VM option '+PrintCompilation'
CompileOnly: compileonly *TP833_3*.*
  1   b   TP833_3::<clinit> (7 bytes)
  2   b   TP833_3::main (80 bytes)
  2   made not entrant  (2)  TP833_3::main (80 bytes)
  3   b   TP833_3::<init> (5 bytes)
  4   b   TP833_3::method50 (85 bytes)
  4   made not entrant  (2)  TP833_3::method50 (85 bytes)
  5   b   TP833_3$Dummy::<init> (18 bytes)
  1%  b   TP833_3::method50 @ 58 (85 bytes)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/block.cpp:910
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/block.cpp:910), pid=10221, tid=15
#  Error: assert(b->find_node(def) < j,"uses must follow definitions")
#
# JRE version: 7.0-b60
# Java VM: Java HotSpot(TM) Server VM (16.0-b03-fastdebug compiled mode solaris-x86 )
# An error report file with more information is saved as:
# /net/irkutsk/export/home/kvn/work2/hg/70996348/VM_x86/hs_err_pid10221.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 15
Dumping core ...
Abort

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/dd0a4e1e219b
                                     
2009-07-26
PUBLIC COMMENTS

Problem:
The assert added for 6791852 misses the case when
the head of a tight loop is not LoopNode.
In the bugs case it is RegionNode with 4 input edges.

Solution:
Add additional check for a tight loop.
                                     
2009-07-27
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/dd0a4e1e219b
                                     
2009-08-10



Hardware and Software, Engineered to Work Together