RFR: 8224662: Parallel GC: Use WorkGang (4: SharedRestorePreservedMarksTaskExecutor)
Leo Korinth
leo.korinth at oracle.com
Mon May 27 08:56:46 UTC 2019
Hi,
Here is the fourth patch in a proposed patch series of eight that
removes gcTaskManager and uses the WorkGang abstraction instead. I
will try to put these mails in the same mail thread.
This patch is short. it uses the already existing
SharedRestorePreservedMarksTaskExecutor. No new code was needed.
In the future it would be nice to remove this "executor"
closure-inside-closure model. I did a quick try to do this, and failed
due to some arguments to the task is applied too late. Improving this
will have to be done later.
Enhancement:
https://bugs.openjdk.java.net/browse/JDK-8224662
Webrev:
http://cr.openjdk.java.net/~lkorinth/workgang/0/_8224662-Parallel-GC-Use-WorkGang-4-SharedRestorePreservedMarksTaskExecutor/
http://cr.openjdk.java.net/~lkorinth/workgang/0/all/
Testing (on the whole patch series):
mach5 remote-build-and-test --build-profiles
linux-x64,linux-x64-debug,macosx-x64,solaris-sparcv9,windows-x64 --test
open/test/hotspot/jtreg/:hotspot_gc -a -XX:+UseParallelGC
gc test suite
Thanks,
Leo
More information about the hotspot-gc-dev
mailing list