RFR: 8369147: Various issues with new tests added by JDK-8316694
Chad Rakoczy
duke at openjdk.org
Wed Oct 15 18:03:43 UTC 2025
On Wed, 15 Oct 2025 17:14:49 GMT, Vladimir Kozlov <kvn at openjdk.org> 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
>
> Comments.
> @vnkozlov Could you provide your configure and more test output for https://bugs.openjdk.org/browse/JDK-8369150
>
> I'm not able to reproduce
I'm not sure if you saw this because of the bot comments but I'm not able to reproduce the COH failure
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27659#issuecomment-3407655874
More information about the serviceability-dev
mailing list