Integrated: 8297718: Make NMT free:ing protocol more granular
Johan Sjölen
jsjolen at openjdk.org
Thu Dec 8 12:36:35 UTC 2022
On Mon, 28 Nov 2022 12:38:38 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> This PR avoids the double registration of a failed `os::realloc` in NMT by doing the NMT free protocol steps inline (asserting block integrity, marking of MallocHeader, and registrering results to statistics). This is done by creating a new struct `FreePackage` which includes all of the necessary data for registrering results.
>
> I also did some light refactoring which I think makes the protocol clearer, these are done piece wise as separate commits for the reviewers' convenience.
This pull request has now been integrated.
Changeset: 165dcdd2
Author: Johan Sjölen <jsjolen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/165dcdd27de16824478ac9ebdfbd7b00fffe51e6
Stats: 77 lines in 7 files changed: 52 ins; 5 del; 20 mod
8297718: Make NMT free:ing protocol more granular
Reviewed-by: stuefe, gziemski
-------------
PR: https://git.openjdk.org/jdk/pull/11390
More information about the hotspot-runtime-dev
mailing list