-
Enhancement
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11-shenandoah, 14, 15
-
b18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245358 | 14u-cpu | Aleksey Shipilev | P4 | Resolved | Fixed | master |
JDK-8244364 | 14.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b05 |
Current code has awkward ShenandoahCollectionSet method:
// Bring per-region statuses to consistency with this collection.
// TODO: This is a transitional interface that bridges the gap between
// region statuses and this collection. Should go away after we merge them.
void update_region_status();
...that is called after cset selection. It walks the regions again and transits the regions to cset status. At this point, we can just do this during SHCSet::add_region() and save a walk.
// Bring per-region statuses to consistency with this collection.
// TODO: This is a transitional interface that bridges the gap between
// region statuses and this collection. Should go away after we merge them.
void update_region_status();
...that is called after cset selection. It walks the regions again and transits the regions to cset status. At this point, we can just do this during SHCSet::add_region() and save a walk.
- backported by
-
JDK-8244364 Shenandoah: transit regions to cset state when adding to collection set
- Resolved
-
JDK-8245358 Shenandoah: transit regions to cset state when adding to collection set
- Resolved