mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -1138,8 +1138,8 @@ static inline size_t percent_of_space(Space* space, HeapWord* addr)
|
|||
|
||||
void CMSCollector::icms_update_allocation_limits()
|
||||
{
|
||||
Generation* gen0 = GenCollectedHeap::heap()->get_gen(0);
|
||||
EdenSpace* eden = gen0->as_DefNewGeneration()->eden();
|
||||
Generation* young = GenCollectedHeap::heap()->get_gen(0);
|
||||
EdenSpace* eden = young->as_DefNewGeneration()->eden();
|
||||
|
||||
const unsigned int duty_cycle = stats().icms_update_duty_cycle();
|
||||
if (CMSTraceIncrementalPacing) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue