RFR: 8273545: Remove Thread::is_GC_task_thread()
Coleen Phillimore
coleenp at openjdk.java.net
Thu Sep 9 12:36:59 UTC 2021
On Thu, 9 Sep 2021 12:07:18 GMT, Per Liden <pliden at openjdk.org> wrote:
> I propose we remove Thread::is_GC_task_thread(). It's used only in two places (one in ZGC, and one assert in ParallelGC), and those two uses can be replaced by calls to is_Worker_thread() instead. Removing is_GC_task_thread() also allows us to clean out some stuff from WorkGang/GangWorker.
Looks good to me. So Worker threads could always do operations during a safepoint? They're NamedThreads so they can run across safepoints? Thanks.
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5442
More information about the shenandoah-dev
mailing list