On Fri, 30 Jul 2021 18:28:44 GMT, Zhengyu Gu <z...@openjdk.org> wrote:
>> So, you are saying that there is no memory that is malloc'd pre-NMT-init >> phase and freed post-NMT-init phase? > > Okay, I see. It just leaks those memory, so the table can be read-only. Exactly. There are a few allocs that either get free'd or realloc'ed post-init, but not enough to make freeing them worth it if it means having to serialize access to the lookup table. ------------- PR: https://git.openjdk.java.net/jdk/pull/4874