Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/c2_globals_sparc.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 | e4bb0bda20a4 |
children | 6b0fd0964b87 d90d1b96b65b |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c2_globals_sparc.hpp Tue Jul 02 10:30:49 2013 -0700 +++ b/src/cpu/sparc/vm/c2_globals_sparc.hpp Tue Jul 02 07:51:31 2013 +0200 @@ -86,7 +86,8 @@ // Ergonomics related flags define_pd_global(uint64_t,MaxRAM, 4ULL*G); #endif -define_pd_global(uintx,CodeCacheMinBlockLength, 4); +define_pd_global(uintx, CodeCacheMinBlockLength, 4); +define_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K); // Heap related flags define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(16*M));