RFR: 8324829: Uniform use of synchronizations in NMT

Johan Sjölen jsjolen at openjdk.org
Thu Feb 29 09:43:53 UTC 2024


On Mon, 26 Feb 2024 07:41:45 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> In NMT, both `ThreadCritical` and `Tracker` objects are used to do synchronizations. `Tracker` class uses `ThreadCritical` internally and used only for uncommit and release memory operations.  In this change, `Tracker` class is replaced with explicit use of `ThreadCritical` to be the same as the other instances of sync'ing NMT operations.
> 
> tiers1-5 tests passed.

I'm fine with this being merged either way, @afshin-zafari

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

Marked as reviewed by jsjolen (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18000#pullrequestreview-1908402814


More information about the hotspot-dev mailing list