Integrated: 8273545: Remove Thread::is_GC_task_thread()

Per Liden pliden at openjdk.java.net
Thu Sep 9 19:23:11 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.

This pull request has now been integrated.

Changeset: 185eacac
Author:    Per Liden <pliden at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/185eacacdde9de12936520a1cda847f7e541c62f
Stats:     28 lines in 17 files changed: 0 ins; 18 del; 10 mod

8273545: Remove Thread::is_GC_task_thread()

Reviewed-by: stefank, coleenp, shade

-------------

PR: https://git.openjdk.java.net/jdk/pull/5442


More information about the shenandoah-dev mailing list