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

Ioi Lam iklam at openjdk.org
Thu Sep 4 21:20:19 UTC 2025


On Thu, 4 Sep 2025 03:28:39 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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.

I changed it to `_is_aot_generated_class`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27018#discussion_r2323553734


More information about the hotspot-dev mailing list