RFR: 8360561: PhaseIdealLoop::create_new_if_for_predicate hits "must be a uct if pattern" assert
Marc Chevalier
mchevalier at openjdk.org
Thu Aug 14 08:02:12 UTC 2025
On Tue, 5 Aug 2025 08:55:30 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:
>> No, only supplying `Xcomp` to the parent process (the one running the `main`) disables IR verification. You can supply whatever flag to the child process and the IR verification still applies. You can see this in all Valhalla tests.
>
> Good to know. Thank you for clearing that up for me.
Indeed. I use it here to prevent profiling from removing an actually impossible path with a trap, because bad things happen in a dead path. It's not the first time I use `Xcomp` for that, and there are other ways (like setting a maximum on the number of traps per method, or disabling the warmup (and so profiling) in IR framework execution). That was discussed in some other PR without strong opinions or consensus on what would be the preferred way.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26504#discussion_r2275800369
More information about the hotspot-compiler-dev
mailing list