On Wed, 15 Oct 2025 19:17:37 GMT, Chad Rakoczy <[email protected]> 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.

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

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

Reply via email to