[11] RFR(S) 8193126: Incorrect setting of MetaspaceSize and NewSizeThreadIncrease when using JVMCI compiler
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Jul 5 23:17:40 UTC 2018
http://cr.openjdk.java.net/~kvn/8193126/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8193126
JVMCI reset some flags values to improve Graal code generation. But some
settings were copied from C1 setting which cause change of Server VM
behavior with Graal JIT vs when C2 JIT is used. For example, the default
MetaspaceSize value with C2 is about 21Mb but it was reset to 12Mb for
JVMCI which causes addition metaspace collections and Java heap
collections too (for class unloading).
It also cause some unexpected failures in testing. Like JDK-8203174.
I propose to select max values for some sizes.
Tested tier1, tier2, graal-tier3, graal-tier4
--
Thanks,
Vladimir
More information about the hotspot-compiler-dev
mailing list