RFR: 8371121: compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1 [v2]

duke duke at openjdk.org
Tue Nov 18 05:51:07 UTC 2025


On Thu, 13 Nov 2025 21:17:08 GMT, Chad Rakoczy <duke at openjdk.org> wrote:

>> [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

@chadrako 
Your change (at version 0cba5fc77ce4c0706983974d1c6cf609565d90d2) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/28246#issuecomment-3545236873


More information about the hotspot-compiler-dev mailing list