RFR: 8339112: Move JVM Klass flags out of AccessFlags [v2]

Yudi Zheng yzheng at openjdk.org
Tue Sep 3 08:47:23 UTC 2024


On Fri, 30 Aug 2024 20:23:54 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> I don't think the JVMCI knows about the type KlassFlags - I used the same code that I used for InstanceKlass::_misc_flags._flags  (see above this).
>
> I made the change to refactor the getMiscFlags function, but if you want to add knowledge of the KlassFlags class (and InstanceKlassFlags also), you could do that separately from this PR.

I think JVMCI already knows these type via the objArrayKlass import, as it knows about KlassFlags. I will open another PR for refactoring these and other things unrelated to this PR in `HotSpotVMConfig`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20719#discussion_r1741669853


More information about the serviceability-dev mailing list