RFR: 8370112: Remove VM_Version::supports_fast_class_init_checks() in platform-specific code [v2]

Aleksey Shipilev shade at openjdk.org
Tue Jan 20 05:34:00 UTC 2026


On Mon, 19 Jan 2026 20:45:57 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this simple enhancement to remove runtime checks for `VM_Version::supports_fast_class_init_checks()` in platform specific code, and replace them with asserts - as we know statically whether a given platform supports it.
>> 
>> The changes are the same for each platform.
>> 
>> Testing
>>  - building all platforms via GHA
>>  - tiers 1-3 (sanity)
>> 
>> Thanks
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove redundant block

Looks fine to me!

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29293#pullrequestreview-3680406748


More information about the hotspot-runtime-dev mailing list