mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8026853: Prepare GC code for collector policy regression fix
Cleanup related to the NewSize and MaxNewSize bugs Reviewed-by: tschatzl, jcoomes, ehelin
This commit is contained in:
parent
5976b6915a
commit
9705a6e3f9
12 changed files with 39 additions and 55 deletions
|
@ -1053,12 +1053,6 @@ void GenCollectedHeap::save_marks() {
|
|||
}
|
||||
}
|
||||
|
||||
void GenCollectedHeap::compute_new_generation_sizes(int collectedGen) {
|
||||
for (int i = 0; i <= collectedGen; i++) {
|
||||
_gens[i]->compute_new_size();
|
||||
}
|
||||
}
|
||||
|
||||
GenCollectedHeap* GenCollectedHeap::heap() {
|
||||
assert(_gch != NULL, "Uninitialized access to GenCollectedHeap::heap()");
|
||||
assert(_gch->kind() == CollectedHeap::GenCollectedHeap, "not a generational heap");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue