mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8042298: Remove the names gen0 and gen1 from the GC code
Renamed gen0 and gen1 to young and old throughout the GC code. Reviewed-by: sjohanss, jcoomes
This commit is contained in:
parent
47c9e23d81
commit
ded8b863dd
19 changed files with 225 additions and 226 deletions
|
@ -1193,10 +1193,9 @@ class ConcurrentMarkSweepGeneration: public CardGeneration {
|
|||
// Does a "full" (forced) collection invoked on this generation collect
|
||||
// all younger generations as well? Note that the second conjunct is a
|
||||
// hack to allow the collection of the younger gen first if the flag is
|
||||
// set. This is better than using th policy's should_collect_gen0_first()
|
||||
// since that causes us to do an extra unnecessary pair of restart-&-stop-world.
|
||||
// set.
|
||||
virtual bool full_collects_younger_generations() const {
|
||||
return UseCMSCompactAtFullCollection && !CollectGen0First;
|
||||
return UseCMSCompactAtFullCollection && !ScavengeBeforeFullGC;
|
||||
}
|
||||
|
||||
void space_iterate(SpaceClosure* blk, bool usedOnly = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue