On Mon, 6 Oct 2025 20:13:46 GMT, Chad Rakoczy <[email protected]> wrote:

> [JDK-8369147](https://bugs.openjdk.org/browse/JDK-8369147)
> 
> Fixes tests added in 
> [JDK-8316694](https://bugs.openjdk.org/browse/JDK-8316694)
> 
> `DeoptimizeRelocatedNMethod.java` and `RelocateNMethod.java` failed because 
> they attempted to relocate nmethods to the `MethodProfiled` code heap which 
> does not exist when `TieredCompilation` is false. Updated the tests to use 
> `MethodNonProfiled` heap which exists regardless of `TieredCompilation`
> 
> `StressNMethodRelocation.java` runs for 60 seconds and also compiles 1024 
> methods with C2. This was causing the test to timeout if the compilation took 
> too much time. Increasing the timeout to 5 minutes should give C2 enough time 
> to compile the functions
> 
> `NMethodRelocationTest.java` runs using SerialGC which caused a multiple GC 
> error when trying to run with another GC. Added a requires to force SerialGC

This pull request has now been integrated.

Changeset: 73f93920
Author:    Chad Rakoczy <[email protected]>
Committer: Vladimir Kozlov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/73f93920b950b4ce5fa177db50010e95265d6a7f
Stats:     288 lines in 6 files changed: 5 ins; 260 del; 23 mod

8369147: Various issues with new tests added by JDK-8316694

Reviewed-by: kvn, dlong

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

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

Reply via email to