United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6719149 Wrong "java/lang/String should not be loaded yet" assertion in fastdebug bits with UseStringCache
JDK-6719149 : Wrong "java/lang/String should not be loaded yet" assertion in fastdebug bits with UseStringCache

Details
Type:
Bug
Submit Date:
2008-06-25
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs13
Fixed Versions:
hs14 (b06)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Wrong "java/lang/String should not be loaded yet" assertion with 
-XX:+AggressiveOpts -XX:+UseStringCache flags.

It is reproduced on all platforms, with 32 and 64bit jvm, with client and server compilers, with -Xmixed/comp/int modes. But only with fastdebug bits.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/e4355b352b7d
                                     
2008-09-29
EVALUATION

The assert was bogus since the code loads string class optionally just before the assert.  Removed the assert.
                                     
2008-09-29



Hardware and Software, Engineered to Work Together