Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6448792
Votes 0
Synopsis C2 assert during CTW when CodeCache is near full
Category hotspot:compiler2
Reported Against
Release Fixed hs10(b03), 6u4(b03) (Bug ID:2171805) , 7(b03) (Bug ID:2176738)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 13-JUL-2006
Description
During CTW testing on amd64 (-d64) I got the next assert which is reproduced 
with current c2_baseline:

foundation% /tmp/kvn/jdk1.6.0/fastdebug/bin/java -d64 -Xss4m -verify -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=8193 -Xbootclasspath/p:/net/vmsqe.sfbay/export/backup/testbase/CompileTheWorld/jarfiles/weblogicbig.jar
...
CompileTheWorld (10929) : weblogic/management/internal/RemoteRealmManagerImpl
CompileTheWorld (10930) : weblogic/management/internal/RemoteRealmManagerImpl_WLSkel
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/assembler.cpp:108]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (/net/prt-solamd64-q1-2/PrtBuildDir/workspace/src/share/vm/asm/assembler.cpp, 108), pid=24021, tid=11
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20060710121006.kvn.main_to_c2_baseline-debug mixed mode)
#
# Error: assert(_code_section == code()->consts(),"not in consts?")
# An error report file with more information is saved as hs_err_pid24021.log
#

It passed with -XX:ReservedCodeCacheSize=50m (default 48m).
Posted Date : 2006-07-13 23:42:21.0
Work Around
N/A
Evaluation
The VM detects a full code cache on a call to start_a_const(), which returns NULL.  The caller adds no constant data, but still mistakenly calls end_a_const(). End_a_const() asserts because the failing start_a_const() never switched over to the const section.
Posted Date : 2006-07-19 22:35:36.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang