RFR: 8374450: GTest opto.canonicalize_constraints cannot run without VM

Quan Anh Mai qamai at openjdk.org
Mon Jan 12 06:53:21 UTC 2026


On Mon, 12 Jan 2026 06:28:19 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> The `opto.canonicalize_constraints` test explicitly uses symbols which are setup in `Type::Initialize_shared` (which seems to happen as a side effect of generating stubs at VM start. Also see comment in `Type::Initialize_shared`). So the test is required to be a VM test.
> 
> * Testing 
>   * GHA
>   * Verified that it `opto.canonicalize_constraints` now does not segmentation fault when run in isolation.
>   * Tier 1 on Oracle supported platforms

Thanks a lot for fixing this, it looks good to me

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

Marked as reviewed by qamai (Committer).

PR Review: https://git.openjdk.org/jdk/pull/29159#pullrequestreview-3649359405


More information about the hotspot-compiler-dev mailing list