United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7019557 SharedMiscDataSize too small for 64-bit fastdebug JVM
JDK-7019557 : SharedMiscDataSize too small for 64-bit fastdebug JVM

Details
Type:
Bug
Submit Date:
2011-02-15
Status:
Closed
Updated Date:
2011-04-24
Project Name:
JDK
Resolved Date:
2011-04-24
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs21 (b03)

Related Reports
Backport:

Sub Tasks

Description
$ java -d64 -Xshare:dump

Loading classes to share ... done. 
Rewriting and unlinking classes ... done. 
Calculating hash values for String objects .. done. 
Calculating fingerprints ... done. 
Removing unshareable information ... done. 
Moving common symbols to metadata section at 0xfffffd7fcda06498 ... done. 
Moving vmSymbols to metadata section at 0xfffffd7fcdca1188 ... done. 
Moving the remaining symbols to metadata section at 0xfffffd7fcdca2a48 ... done. 
Moved 50335 symbols, 2737632 bytes.
Moving pre-ordered read-only objects to shared space at 0xfffffd7fcc200000 ... done. 
Moving read-only objects to shared space at 0xfffffd7fcc762740 ... done. 
Moving string char arrays to shared space at 0xfffffd7fcc765290 ... done. 
Moving pre-ordered read-write objects to shared space at 0xfffffd7fccc00000 ... done. 
Moving read-write objects to shared space at 0xfffffd7fcd7baf40 ... done. 
Moving String objects to shared space at 0xfffffd7fcd8303b8 ... done. 
Read-write space ends at 0xfffffd7fcd8aec90, 13298832 bytes.
Updating references to shared objects ... done. 

Java HotSpot(TM) 64-Bit Server VM warning: 
The shared miscellaneous data space is not large enough
to preload requested classes. Use -XX:SharedMiscDataSize=
to increase the initial size of shared miscellaneous data space.

This was with a fastdebug build of jdk7-b129 on solaris.

                                    

Comments
WORK AROUND

Add -XX:SharedMiscDataSize=5m to the command line.
                                     
2011-02-15
EVALUATION

Probably because the symbols were added to the shared misc data section.
                                     
2011-02-18
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/6e70f1bb7f6f
                                     
2011-02-19
EVALUATION

Summary: Increase default SharedMiscDataSize
Reviewed-by: dcubed, kamg
                                     
2011-02-21



Hardware and Software, Engineered to Work Together