equal
deleted
inserted
replaced
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. |