Mercurial > hg > graal-compiler
comparison src/cpu/zero/vm/shark_globals_zero.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 | f64ffbf81af5 |
children | 6a936747b569 |
comparison
equal
deleted
inserted
replaced
11078:2b3fe74309b6 | 11079:738e04fb1232 |
---|---|
56 define_pd_global(intx, InitialCodeCacheSize, 160*K); | 56 define_pd_global(intx, InitialCodeCacheSize, 160*K); |
57 define_pd_global(intx, ReservedCodeCacheSize, 32*M ); | 57 define_pd_global(intx, ReservedCodeCacheSize, 32*M ); |
58 define_pd_global(bool, ProfileInterpreter, false); | 58 define_pd_global(bool, ProfileInterpreter, false); |
59 define_pd_global(intx, CodeCacheExpansionSize, 32*K ); | 59 define_pd_global(intx, CodeCacheExpansionSize, 32*K ); |
60 define_pd_global(uintx, CodeCacheMinBlockLength, 1 ); | 60 define_pd_global(uintx, CodeCacheMinBlockLength, 1 ); |
61 define_pd_global(uintx, MetaspaceSize, 12*M ); | 61 define_pd_global(uintx, CodeCacheMinimumUseSpace, 200*K); |
62 | |
63 define_pd_global(uintx, MetaspaceSize, 12*M ); | |
62 define_pd_global(bool, NeverActAsServerClassMachine, true ); | 64 define_pd_global(bool, NeverActAsServerClassMachine, true ); |
63 define_pd_global(uint64_t, MaxRAM, 1ULL*G); | 65 define_pd_global(uint64_t, MaxRAM, 1ULL*G); |
64 define_pd_global(bool, CICompileOSR, true ); | 66 define_pd_global(bool, CICompileOSR, true ); |
65 | 67 |
66 #endif // CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP | 68 #endif // CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP |