mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
Introduce a minimum code cache size that guarantees that the VM can startup. Reviewed-by: kvn, twisti
This commit is contained in:
parent
fc1302ea95
commit
386e37ba15
7 changed files with 42 additions and 10 deletions
|
@ -3160,6 +3160,9 @@ class CommandLineFlags {
|
|||
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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue