mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables. Reviewed-by: kbarrett, mgerdin
This commit is contained in:
parent
0241e477f1
commit
e238141b5c
9 changed files with 337 additions and 340 deletions
|
@ -552,8 +552,9 @@ typedef CompactHashtable<Symbol*, char> SymbolCompactHashTable;
|
|||
nonstatic_field(GenerationSpec, _max_size, size_t) \
|
||||
\
|
||||
static_field(GenCollectedHeap, _gch, GenCollectedHeap*) \
|
||||
nonstatic_field(GenCollectedHeap, _young_gen, Generation*) \
|
||||
nonstatic_field(GenCollectedHeap, _old_gen, Generation*) \
|
||||
nonstatic_field(GenCollectedHeap, _n_gens, int) \
|
||||
unchecked_nonstatic_field(GenCollectedHeap, _gens, sizeof(GenCollectedHeap::_gens)) /* NOTE: no type */ \
|
||||
nonstatic_field(GenCollectedHeap, _gen_specs, GenerationSpec**) \
|
||||
\
|
||||
nonstatic_field(HeapWord, i, char*) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue