RFR: 8371121: compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1 [v2]
Chad Rakoczy
duke at openjdk.org
Thu Nov 13 21:17:08 UTC 2025
> [JDK-8371121](https://bugs.openjdk.org/browse/JDK-8371121)
>
> This update aims to improve the test’s stability. A previous failure occurred because the method wasn’t compiled at the time of the check. I believe this could have occurred due to a deoptimization but I have not been able to reproduce. Previously, the test ensured compilation by repeatedly invoking the function. Instead, we now use Whitebox to add the method directly to the compile queue and wait for it to finish compiling. This approach should eliminate issues caused by deoptimization from function calls.
Chad Rakoczy has updated the pull request incrementally with two additional commits since the last revision:
- Fix comment
- Block on comp instead
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28246/files
- new: https://git.openjdk.org/jdk/pull/28246/files/8d761d15..0cba5fc7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28246&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28246&range=00-01
Stats: 5 lines in 1 file changed: 0 ins; 3 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28246.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28246/head:pull/28246
PR: https://git.openjdk.org/jdk/pull/28246
More information about the hotspot-compiler-dev
mailing list