hotspot/src/share/vm/gc/g1/heapRegionType.hpp
changeset 32623 390a27af5657
parent 31346 a70d45c06136
child 33105 294e48b4f704
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
    33 class HeapRegionType VALUE_OBJ_CLASS_SPEC {
    33 class HeapRegionType VALUE_OBJ_CLASS_SPEC {
    34 private:
    34 private:
    35   // We encode the value of the heap region type so the generation can be
    35   // We encode the value of the heap region type so the generation can be
    36   // determined quickly. The tag is split into two parts:
    36   // determined quickly. The tag is split into two parts:
    37   //
    37   //
    38   //   major type (young, humongous)                         : top N-1 bits
    38   //   major type (young, old, humongous, archive)           : top N-1 bits
    39   //   minor type (eden / survivor, starts / cont hum, etc.) : bottom 1 bit
    39   //   minor type (eden / survivor, starts / cont hum, etc.) : bottom 1 bit
    40   //
    40   //
    41   // If there's need to increase the number of minor types in the
    41   // If there's need to increase the number of minor types in the
    42   // future, we'll have to increase the size of the latter and hence
    42   // future, we'll have to increase the size of the latter and hence
    43   // decrease the size of the former.
    43   // decrease the size of the former.