src/hotspot/share/gc/g1/g1InCSetState.hpp

@@ -54,11 +54,12 @@
// this encoding allows us to use an > 0 check.
// The positive values are encoded in increasing generation order, which
// makes getting the next generation fast by a simple increment. They are also
// used to index into arrays.
// The negative values are used for objects requiring various special cases,
- // for example eager reclamation of humongous objects.+ // for example eager reclamation of humongous objects or optional regions.+ Optional = -2, // The region is optional
Humongous = -1, // The region is humongous
NotInCSet = 0, // The region is not in the collection set.
Young = 1, // The region is in the collection set and a young region.
Old = 2, // The region is in the collection set and an old region.
Num