RFR: 8268164: Adopt cast notation for WorkerThread conversions [v2]

Stefan Karlsson stefank at openjdk.java.net
Thu Jun 3 12:55:38 UTC 2021


On Thu, 3 Jun 2021 12:47:02 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Followup of JDK-8267916 (#4240), the same refactoring for `WorkerThread`.
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

Marked as reviewed by stefank (Reviewer).

src/hotspot/share/runtime/nonJavaThread.hpp line 111:

> 109: 
> 110:   static WorkerThread* cast(Thread* t) {
> 111:     assert(t->is_Worker_thread(), "incorrect cast to const WorkerThread");

It should probably not say *const* here.

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

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


More information about the hotspot-dev mailing list