RFR: 8292006: Move thread accessor classes to threadJavaClasses.hpp

David Holmes dholmes at openjdk.org
Sun Aug 7 22:13:03 UTC 2022


On Sat, 6 Aug 2022 00:11:08 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> To improve modularity and build time, move the declaration of the following accessor from classfile/javaClasses.hpp to runtime/threadJavaClasses.hpp:
> 
> + java_lang_Thread_FieldHolder
> + java_lang_Thread_Constants
> + java_lang_ThreadGroup
> + java_lang_VirtualThread
> 
> Also move javaThreadStatus.hpp from share/classfile to share/runtime, where it belongs.

<grumble grumble> javaClasses is not meant to be modular, and moving just a handful of items does not make it modular. I really like having all these Java accessors in one place.

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

PR: https://git.openjdk.org/jdk/pull/9788


More information about the serviceability-dev mailing list