During startup we allocate all G1HeapRegion instances, sometimes in profiles of startup it shows up in profiles, with code root set allocation/initialization showing up.
Maybe it is sufficient to initialize code roots only while registering the first code root to make this cost disappear from startup.
Maybe it is sufficient to initialize code roots only while registering the first code root to make this cost disappear from startup.
- relates to
-
JDK-8359802 JEP 523: Make G1 the Default Garbage Collector in All Environments
-
- Candidate
-