Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 8043:309460dcedf7
8006851: When TieredCompilation is set, max code cache should be bumped to 256mb
Summary: Set ReservedCodeCacheSize to (default value)*5 when TieredCompilation is on.
Reviewed-by: kvn, twisti
author | morris |
---|---|
date | Fri, 08 Feb 2013 15:39:43 -0800 |
parents | 3c9bc17b9403 |
children | 1cdf241a4b26 6c2da81297c5 |
comparison
equal
deleted
inserted
replaced
8042:91a23b11d8dc | 8043:309460dcedf7 |
---|---|
1084 vm_exit_during_initialization( | 1084 vm_exit_during_initialization( |
1085 "Incompatible compilation policy selected", NULL); | 1085 "Incompatible compilation policy selected", NULL); |
1086 } | 1086 } |
1087 // Increase the code cache size - tiered compiles a lot more. | 1087 // Increase the code cache size - tiered compiles a lot more. |
1088 if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) { | 1088 if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) { |
1089 FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 2); | 1089 FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 5); |
1090 } | 1090 } |
1091 } | 1091 } |
1092 | 1092 |
1093 #if INCLUDE_ALL_GCS | 1093 #if INCLUDE_ALL_GCS |
1094 static void disable_adaptive_size_policy(const char* collector_name) { | 1094 static void disable_adaptive_size_policy(const char* collector_name) { |