-
Type:
Task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: hotspot
-
b23
The existing implementation keeps redundant copies of amounts of memory used, allocated, empty/unaffiliated. One copy is maintained by ShenandoahGeneration. The other copy is maintained by ShenandoahFreeSet.
Occasional assertions confirm the two copies of this information are consistent. However, rare assertion checks fail, because the two sets of books are updated at different times, using different synchronization mechanisms.
Besides eliminating these rare assertion failures, the other benefit of this change is to eliminate the overhead associated with keeping redundant sets of information.
Occasional assertions confirm the two copies of this information are consistent. However, rare assertion checks fail, because the two sets of books are updated at different times, using different synchronization mechanisms.
Besides eliminating these rare assertion failures, the other benefit of this change is to eliminate the overhead associated with keeping redundant sets of information.
- causes
-
JDK-8371852 Shenandoah: Unused ShenandoahFreeSet::_allocated_since_gc_start field
-
- New
-
- duplicates
-
JDK-8232057 Shenandoah: report wasted space as "used"
-
- Closed
-
- relates to
-
JDK-8371141 Shenandoah: Many test timeouts with -XX:-UseTLAB
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/ec059c0e
-
Review(master)
openjdk/jdk/26867