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

Ioi Lam iklam at openjdk.org
Fri Sep 5 23:58:17 UTC 2025


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

> This PR is one (of many) steps in [JDK-8366473](https://bugs.openjdk.org/browse/JDK-8366473) (Refactor CDS source code with new AOT terminology):
> 
> 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.

This pull request has now been integrated.

Changeset: dbf4ffff
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dbf4ffffe3fbbb513122081bbcc04c543473082e
Stats:     60 lines in 7 files changed: 20 ins; 10 del; 30 mod

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

Reviewed-by: liach, asmehra, kvn

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

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


More information about the hotspot-dev mailing list