The concurrent cleanup and secondary free list handling has several disadvantages:
- adds another lock in the LAB allocation path
- additional concurrent phase
Measurements show that freeing regions is very fast (sub-ms) for a significant set of regions. Particularly withJDK-8180415, where the very expensive remembered set scrubbing will be removed, the additional time freeing regions takes is negligible (actually even without that change).
Remove concurrent cleanup completely, the secondary free list and everything related.
- adds another lock in the LAB allocation path
- additional concurrent phase
Measurements show that freeing regions is very fast (sub-ms) for a significant set of regions. Particularly with
Remove concurrent cleanup completely, the secondary free list and everything related.
- blocks
-
JDK-8154528 Reclaim regions emptied by marking in Remark pause
-
- Resolved
-
- is blocked by
-
JDK-8180415 Rebuild remembered sets during the concurrent cycle
-
- Resolved
-