[G1] Why is max. region size restricted to 32m?

Vishal Chand vishalchand2492 at gmail.com
Tue Aug 25 05:46:17 UTC 2020


Hi,

While running G1 with 128g heap, I am observing # of regions close to 4k,
which is twice the target number of regions G1 tries to achieve (2048). I
would like to know any major reason/challenges for keeping the max region
size restricted to 32m, apart from what is mentioned in* src
<http://ssdbang9:8080/source/xref/jdk14/jdk14/src/>/hotspot
<http://ssdbang9:8080/source/xref/jdk14/jdk14/src/hotspot/>/share
<http://ssdbang9:8080/source/xref/jdk14/jdk14/src/hotspot/share/>/gc
<http://ssdbang9:8080/source/xref/jdk14/jdk14/src/hotspot/share/gc/>/g1
<http://ssdbang9:8080/source/xref/jdk14/jdk14/src/hotspot/share/gc/g1/>/heapRegionBounds.hpp.
*

Thanks and regards
Vishal Chand


More information about the hotspot-gc-dev mailing list