File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/hotspot/share/gc/parallel Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,26 @@ class PSAdaptiveSizePolicy;
50
50
class PSCardTable ;
51
51
class PSHeapSummary ;
52
52
53
+ // ParallelScavengeHeap is the implementation of CollectedHeap for Parallel GC.
54
+ //
55
+ // The heap is reserved up-front in a single contiguous block, split into two
56
+ // parts, the old and young generation. The old generation resides at lower
57
+ // addresses, the young generation at higher addresses. The boundary address
58
+ // between the generations is fixed. Within a generation, committed memory
59
+ // grows towards higher addresses.
60
+ //
61
+ //
62
+ // low high
63
+ //
64
+ // +-- generation boundary (fixed after startup)
65
+ // |
66
+ // |<- old gen (reserved) ->|<- young gen (reserved) ->|
67
+ // +---------------+--------+-----------------+--------+--------+--------+
68
+ // | old | | eden | from | to | |
69
+ // | | | | (to) | (from) | |
70
+ // +---------------+--------+-----------------+--------+--------+--------+
71
+ // |<- committed ->| |<- committed ->|
72
+ //
53
73
class ParallelScavengeHeap : public CollectedHeap {
54
74
friend class VMStructs ;
55
75
private:
You can’t perform that action at this time.
0 commit comments