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

Chen Liang liach at openjdk.org
Sat Aug 30 04:26:41 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.

Looks helpful.

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

Marked as reviewed by liach (Reviewer).

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


More information about the hotspot-dev mailing list