diff src/share/vm/runtime/globals.hpp @ 6736:11fb740ce98f

7196103: NPG: Unable to allocate bit map for parallel garbage collection for the requested heap size Summary: Don't allocate huge class metaspace size by default on x64 Reviewed-by: stefank, jmasa, kvn
author coleenp
date Fri, 07 Sep 2012 16:42:25 -0400
parents da91efe96a93
children 9a86ddfc6c8f
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Fri Sep 07 12:04:16 2012 -0400
+++ b/src/share/vm/runtime/globals.hpp	Fri Sep 07 16:42:25 2012 -0400
@@ -2993,7 +2993,7 @@
   product(uintx, MaxMetaspaceSize, max_uintx,                               \
           "Maximum size of Metaspaces (in bytes)")                          \
                                                                             \
-  product(uintx, ClassMetaspaceSize, NOT_LP64(1*M) LP64_ONLY(512*M),        \
+  product(uintx, ClassMetaspaceSize, 2*M,                                   \
           "Maximum size of InstanceKlass area in Metaspace used for "       \
           "UseCompressedKlassPointers")                                     \
                                                                             \