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

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Jan 12 06:34:29 UTC 2026


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

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

Commit messages:
 - 8374450: GTest opto.canonicalize_constraints cannot run without VM

Changes: https://git.openjdk.org/jdk/pull/29159/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29159&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374450
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/29159.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29159/head:pull/29159

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


More information about the hotspot-compiler-dev mailing list