Class data sharing question
Kelly O'Hair
Kelly.Ohair at Sun.COM
Wed May 20 09:53:36 PDT 2009
If the jdk is built with -target 7 (newer classfile format), then we
are getting this from running:
java -client -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 pre-ordered read-only objects to shared space at 0xd7000000 ... done.
Moving read-only objects to shared space at 0xd75e9950 ... done.
Moving common symbols to shared space at 0xd75eb8a0 ... done.
Moving remaining symbols to shared space at 0xd76bfd38 ... done.
Moving string char arrays to shared space at 0xd76c0f38 ... done.
Moving additional symbols to shared space at 0xd777ed60 ... Java HotSpot(TM)
Client VM warning:
The permanent generation read only space is not large enough to
preload requested classes. Use -XX:SharedReadOnlySize= to increase
the initial size of the read only space.
(And I assume a non-zero exit code, since things are terminating)
This example was from Solaris 10 X86.
Any insights on this?
Who is the resident CDS expert now?
-kto
More information about the hotspot-dev
mailing list