8006851: When TieredCompilation is set, max code cache should be bumped to 256mb
Set ReservedCodeCacheSize to (default value)*5 when TieredCompilation is on. Reviewed-by: kvn, twisti
This commit is contained in:
parent
231bbf39f4
commit
6a910ea8f2
@ -1086,7 +1086,7 @@ void Arguments::set_tiered_flags() {
|
|||||||
}
|
}
|
||||||
// Increase the code cache size - tiered compiles a lot more.
|
// Increase the code cache size - tiered compiles a lot more.
|
||||||
if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) {
|
if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) {
|
||||||
FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 2);
|
FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user