RFR: 8366477: Refactor AOT-related flag bits in klass.hpp

Vladimir Kozlov kvn at openjdk.org
Sat Aug 30 14:28:43 UTC 2025


On Sat, 30 Aug 2025 02:35:11 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 1] Rename from `Klass::_shared_class_flags` to `Klass::_aot_class_flags`
> 
> [2] Move `_has_aot_safe_initializer` and `_is_runtime_setup_required` from `InstanceKlassFlags` (has run out of bits) to here (we still have 7 extra bits left), to accommodate future `@AOTXXX` annotations.

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27018#pullrequestreview-3171060093


More information about the hotspot-dev mailing list