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

Tobias Hartmann thartmann at openjdk.org
Mon Jan 12 08:49:36 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

Looks good to me too.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list