// This table is used to store attribute values of all HeapRegions that need // fast access during the full collection. In particular some parts of the // region type information is encoded in these per-region bytes. Value encoding // has been specifically chosen to make required accesses fast. In particular, // the table specifies whether a Full GC cycle should be compacting, skip // compacting, or skip marking (liveness analysis) a region. // Reasons for not compacting a region: // (1) the HeapRegion itself has been pinned at the start of Full GC. // (2) the occupancy of the region is too high to be considered eligible for compaction. // The only examples for skipping marking for regions are Closed Archive regions. class G1FullGCHeapRegionAttr : public G1BiasedMappedArray<uint8_t> { staticconst uint8_t Compacting = 0; // Region will be compacted. staticconst uint8_t SkipCompacting = 1; // Region should not be compacted, but otherwise handled as usual. staticconst uint8_t SkipMarking = 2; // Region contents are not even marked through, but contain live objects. staticconst uint8_t Free = 3; // Regions is free.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.