The fastdebug build is very close to the perm gen limit.
This fails when using the latest nightly build on solaris-x86:
/opt/java/jdk1.7.0-b68-2009-08-04/fastdebug/bin/java -XX:SharedReadOnlySize=8100K -Xshare:dump
% /opt/java/jdk1.7.0-b68-2009-08-04/fastdebug/bin/java -XX:SharedReadOnlySize=8193K -Xshare:dump
VM option 'SharedReadOnlySize=8193K'
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 0xd6400000 ... done.
Moving read-only objects to shared space at 0xd69eb338 ... done.
Moving common symbols to shared space at 0xd69ed2e8 ... done.
Moving remaining symbols to shared space at 0xd6ac2728 ... done.
Moving string char arrays to shared space at 0xd6ac38d8 ... done.
Moving additional symbols to shared space at 0xd6b82c68 ... done.
Read-only space ends at 0xd6c5f6c8, 8779464 bytes.
Moving pre-ordered read-write objects to shared space at 0xd6e00000 ... done.
Moving read-write objects to shared space at 0xd750cd80 ... done.
Moving String objects to shared space at 0xd754a668 ... done.
Read-write space ends at 0xd7596d78, 7957880 bytes.
Updating references to shared objects ... done.
diff -r b32a809aab08 -r 10d8c0d0d60e src/share/vm/runtime/globals.hpp
--- a/src/share/vm/runtime/globals.hpp Tue Aug 11 23:24:41 2009 -0700
+++ b/src/share/vm/runtime/globals.hpp Wed Aug 12 14:27:54 2009 -0700
@@ -3287,7 +3287,7 @@
product(uintx, SharedReadWriteSize, 12*M, \
"Size of read-write space in permanent generation (in bytes)") \
- product(uintx, SharedReadOnlySize, 8*M, \
+ product(uintx, SharedReadOnlySize, 10*M, \
"Size of read-only space in permanent generation (in bytes)") \
product(uintx, SharedMiscDataSize, 4*M, \