RFR: 8268164: Adopt cast notation for WorkerThread conversions

Stefan Karlsson stefank at openjdk.java.net
Thu Jun 3 11:40:41 UTC 2021


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


More information about the hotspot-dev mailing list