RFR: JDK-8267916: Make as_CompilerThread consistent with other as_*_thread methods
Albert Mingkun Yang
ayang at openjdk.java.net
Fri May 28 19:27:23 UTC 2021
On Fri, 28 May 2021 13:03:43 GMT, David Holmes <dholmes at openjdk.org> wrote:
> That isn't making things consistent
It's the renaming and move to `thread.inline.hpp` (two points covered in the ticket description) that is supposed to make it more consistent. The creation of `compilerThread.inline.hpp` is just to work around the circular dependency, `CompilerThread::current()` in `compilerThread.hpp` calls `JavaThread::as_CompilerThread` (in `thread.inline.hpp` after the move).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4240
More information about the hotspot-dev
mailing list