There are two fairly independent code paths for PreservedMarksSet::restore(), one for serial and one for parallel execution.
This means that there is some code duplication and (already) some minor difference in the code executed.
Merge these paths as the additional calls are negligible - we are in a special case, i.e. evacuation failure, where that call in the serial case is unlikely to matter.
This means that there is some code duplication and (already) some minor difference in the code executed.
Merge these paths as the additional calls are negligible - we are in a special case, i.e. evacuation failure, where that call in the serial case is unlikely to matter.
- relates to
-
JDK-8157698 PreservedMarksSet: don't launch workers if ParallelGCThreads==1
-
- Open
-