--- old/src/share/vm/runtime/globals.hpp 2014-08-29 15:59:16.484855034 +0200 +++ new/src/share/vm/runtime/globals.hpp 2014-08-29 15:59:16.296855042 +0200 @@ -186,6 +186,10 @@ define_pd_global(intx, InlineUnsafeOps, true); define_pd_global(intx, InitialCodeCacheSize, 160*K); define_pd_global(intx, ReservedCodeCacheSize, 32*M); +define_pd_global(intx, NonProfiledCodeHeapSize, 0); +define_pd_global(intx, ProfiledCodeHeapSize, 0); +define_pd_global(intx, NonMethodCodeHeapSize, 32*M); + define_pd_global(intx, CodeCacheExpansionSize, 32*K); define_pd_global(intx, CodeCacheMinBlockLength, 1); define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); @@ -3354,9 +3358,21 @@ develop_pd(uintx, CodeCacheMinimumUseSpace, \ "Minimum code cache size (in bytes) required to start VM.") \ \ + product(bool, SegmentedCodeCache, false, \ + "Use a segmented code cache") \ + \ product_pd(uintx, ReservedCodeCacheSize, \ "Reserved code cache size (in bytes) - maximum code cache size") \ \ + product_pd(uintx, NonProfiledCodeHeapSize, \ + "Size of code heap with non-profiled methods (in bytes)") \ + \ + product_pd(uintx, ProfiledCodeHeapSize, \ + "Size of code heap with profiled methods (in bytes)") \ + \ + product_pd(uintx, NonMethodCodeHeapSize, \ + "Size of code heap with non-methods (in bytes)") \ + \ product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ "When less than X space left, we stop compiling") \ \