mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old Reviewed-by: kbarrett, mgerdin
This commit is contained in:
parent
0a05ebc7f7
commit
2c63bc9175
11 changed files with 72 additions and 77 deletions
|
@ -380,7 +380,7 @@ void DefNewGeneration::compute_new_size() {
|
|||
|
||||
int next_level = level() + 1;
|
||||
GenCollectedHeap* gch = GenCollectedHeap::heap();
|
||||
assert(next_level < gch->_n_gens,
|
||||
assert(next_level < gch->n_gens(),
|
||||
"DefNewGeneration cannot be an oldest gen");
|
||||
|
||||
Generation* old_gen = gch->old_gen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue