Integrated: 8370112: Remove VM_Version::supports_fast_class_init_checks() in platform-specific code

David Holmes dholmes at openjdk.org
Tue Jan 20 06:24:57 UTC 2026


On Mon, 19 Jan 2026 04:34:36 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

This pull request has now been integrated.

Changeset: ca6925ec
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ca6925ec6bf44cf7d4704becc194389e4c87b74f
Stats:     113 lines in 10 files changed: 10 ins; 11 del; 92 mod

8370112: Remove VM_Version::supports_fast_class_init_checks() in platform-specific code

Reviewed-by: shade, fyang

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

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


More information about the hotspot-runtime-dev mailing list