RFR: 8293584: CodeCache::old_nmethods_do incorrectly filters is_unloading nmethods

Vladimir Kozlov kvn at openjdk.org
Fri Nov 18 17:54:14 UTC 2022


On Fri, 18 Nov 2022 16:51:45 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I fixed the code to also include is_unloading nmethods.  I couldn't write a dedicated test for this.
> Tested with tier1-4,6.  Also tried to reproduce another redefinition bug with this change, which didn't reproduce, but not caused by this change.

Would be nice to have a comment here to explain why `is_unloaded` nmethods are included in scan.

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

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


More information about the hotspot-compiler-dev mailing list