diff src/share/vm/runtime/globals.hpp @ 11079:738e04fb1232

8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k Summary: Introduce a minimum code cache size that guarantees that the VM can startup. Reviewed-by: kvn, twisti
author anoll
date Tue, 02 Jul 2013 07:51:31 +0200
parents f2110083203d
children b800986664f4
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue Jul 02 10:30:49 2013 -0700
+++ b/src/share/vm/runtime/globals.hpp	Tue Jul 02 07:51:31 2013 +0200
@@ -3160,6 +3160,9 @@
   product_pd(uintx, InitialCodeCacheSize,                                   \
           "Initial code cache size (in bytes)")                             \
                                                                             \
+  develop_pd(uintx, CodeCacheMinimumUseSpace,                               \
+          "Minimum code cache size (in bytes) required to start VM.")       \
+                                                                            \
   product_pd(uintx, ReservedCodeCacheSize,                                  \
           "Reserved code cache size (in bytes) - maximum code cache size")  \
                                                                             \