RFR: 8324849: Uniform use of synchronizations in NMT
Johan Sjölen
jsjolen at openjdk.org
Mon Feb 26 07:55: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 never understood why we had this `Tracker` class so I'm inclined to accept this PR, but I'd like to wait for other opinions before giving you an approval.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18000#issuecomment-1963507713
More information about the hotspot-dev
mailing list