On Mon, 1 Apr 2024 18:15:43 GMT, Dean Long <dl...@openjdk.org> wrote:
> The `not_used` state was introduced for AOT. It can go away now. Good catch, Dean. I want to keep `nmethod::make_not_used()` method because we use it in Leyden to keep AOT code (outside of CodeCache): [nmethod.hpp#L476](https://github.com/openjdk/leyden/blob/premain/src/hotspot/share/code/nmethod.hpp#L476) It does not use this flag value. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18554#issuecomment-2030448462