RFR: 8366477: Refactor AOT-related flag bits in klass.hpp [v2]
Chen Liang
liach at openjdk.org
Thu Sep 4 03:31:44 UTC 2025
On Thu, 4 Sep 2025 03:11:49 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
>> Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>>
>> - Merge branch '8366475-rename-metaspace-shared-to-aot-metaspace' into 8366477-refactor-aot-related-flag-bits-in-klass-hpp
>> - 8366477: Refactor AOT-related flag bits in klass.hpp
>
> src/hotspot/share/oops/klass.hpp line 184:
>
>> 182: _verified_at_dump_time = 1 << 3,
>> 183: _has_archived_enum_objs = 1 << 4,
>> 184: _is_generated_shared_class = 1 << 5, // This class was not loaded from a classfile in the module image
>
> does it make sense to rename `_is_generated_shared_class` to `_is_generated_aot_class`?
`_is_aot_generated_class` sounds better.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27018#discussion_r2320728966
More information about the hotspot-dev
mailing list