Integrated: 8371121: compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1

Chad Rakoczy duke at openjdk.org
Tue Nov 18 21:49:48 UTC 2025


On Wed, 12 Nov 2025 00:59:54 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.

This pull request has now been integrated.

Changeset: 27a38d90
Author:    Chad Rakoczy <chadrako at amazon.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/27a38d9093958ae4851bc61b8d3f0d71dc780823
Stats:     11 lines in 1 file changed: 2 ins; 7 del; 2 mod

8371121: compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1

Reviewed-by: thartmann, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list