On Thu, 3 Jun 2021 11:21:11 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote: > Followup of JDK-8267916 (#4240), the same refactoring for `WorkerThread`. I wonder if it wouldn't be nicer to be able to write: WorkerThread::current()->id() ------------- PR: https://git.openjdk.java.net/jdk/pull/4334