RFR(S): 8048179: Early reclaim of large objects that are referenced by a few objects

Jon Masamitsu jon.masamitsu at oracle.com
Thu Dec 18 18:35:51 UTC 2014

On 12/18/2014 07:43 AM, Thomas Schatzl wrote:
> [...]
> I do not like abbreviations in flag names; Bengt and me discussed
> offline and came up with the following new names for the flags:
> G1EagerReclaimHumongousObjects
> G1EagerReclaimHumongousObjectsWithStaleRefs
> G1TraceEagerReclaimHumongousObjects

My alternative would be to abbreviate HumongousObjects
with HObjects


This suggestion is in anticipation of more flags for special
handling of humongous objects and anticipation of getting
tired of the longer flag names.


> I.e. remove the "Dead" because the GC only ever reclaims dead objects
> anyway, and remove the "AtYoungGC" because it seems somewhat superfluous
> too: we can already reclaim humongous objects at all other GCs (marking,
> full gcs), there would be nothing "eager" about it if it were only done
> in these situations.
> I am fine with adding "AtYoungGC" again if someone objects to that.
> Any objections or alternatives?
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8048179/webrev.2/
> Webrev diff:
> http://cr.openjdk.java.net/~tschatzl/8048179/webrev.1_to_2/
> Thanks,
>    Thomas

More information about the hotspot-gc-dev mailing list