United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8002069 Assert failed in C2: assert(field->edge_count() > 0) failed: sanity
JDK-8002069 : Assert failed in C2: assert(field->edge_count() > 0) failed: sanity

Details
Type:
Bug
Submit Date:
2012-10-31
Status:
Closed
Updated Date:
2013-11-23
Project Name:
JDK
Resolved Date:
2012-11-07
Component:
hotspot
OS:
solaris,linux
Sub-Component:
compiler
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs25
Fixed Versions:
hs25 (b09)

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

Sub Tasks

Description
During PIT of VM 25.0 b7 for 1.8.0 b62 HS crashed with assert on Solaris and Linux:

;; Using jvm: "/export/local/common/jdk/baseline/linux-i586/jre/lib/i386/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/211218.amurillo/s/src/share/vm/opto/escape.cpp:1611), pid=18681, tid=2992253808
#  assert(field->edge_count() > 0) failed: sanity
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b62)
# Java VM: Java HotSpot(TM) Server VM (25.0-b07-internal-201210262112.amurillo.hs25-b07-snapshot-fastdebug mixed mode, sharing linux-x86 )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

                                    

Comments
Because the test uses less then 10Mb. In 64-bit VM on big machines it takes time to initialize 1/4 of physical memory. So it is not related to test functionality but how long test runs.
You can increase size if you need.
                                     
2013-11-23
URL:   http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/f3da5ff1514c
User:  kvn
Date:  2012-11-07 01:29:38 +0000

                                     
2012-11-07
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/f3da5ff1514c
User:  amurillo
Date:  2012-11-09 19:30:16 +0000

                                     
2012-11-09
Vladimir, why has the test case a Java heap size limit of 32MB?  Is this important for the test to be useful?
                                     
2013-11-23



Hardware and Software, Engineered to Work Together