RFR: 8369147: Various issues with new tests added by JDK-8316694 [v2]

Chad Rakoczy duke at openjdk.org
Thu Oct 23 17:33:23 UTC 2025


On Wed, 15 Oct 2025 19:17:37 GMT, Chad Rakoczy <duke at openjdk.org> wrote:

>>> I'm not sure if you saw this because of the bot comments but I'm not able to reproduce the COH failure
>> 
>> @chadrako, I added test output to [8369150](https://bugs.openjdk.org/browse/JDK-8369150) bug report.
>> 
>> Do you unload old method after coping and let GC do it normal way?
>
>> Do you unload old method after coping and let GC do it normal way?
> 
> When an nmethod is relocated the old is marked not entrant. Then yes it is unloaded normally by the GC. The issue is most likely the GC deciding not to unload it for whatever reason. I'll see if there is a more deterministic way to test this

> @chadrako what is status of this work. If you are struggling to reproduce [8369150](https://bugs.openjdk.org/browse/JDK-8369150) you can fix it separately.

I haven't been able to reproduce that failure. I'll reopen [8369150](https://bugs.openjdk.org/browse/JDK-8369150) so it can be completed separately

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

PR Comment: https://git.openjdk.org/jdk/pull/27659#issuecomment-3438252118


More information about the serviceability-dev mailing list