RFR: 8273916: Remove 'special' ranking
Coleen Phillimore
coleenp at openjdk.java.net
Mon Sep 20 19:44:04 UTC 2021
On Fri, 17 Sep 2021 11:50:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This change removes the special ranking and folds it into nosafepoint. You have to look at commit #3 to see this actual part of the change that doesn't include JDK-8273915.
> This passes tier1-6 also.
Thanks for looking at this, David. I started to map special(-n) to nosafepoint(-n) but since special is nosafepoint - 9 (?) there were interactions with other nosafepoint locks so they needed rankings relative to other locks.
CompiledMethod_lock(nosafepoint-4) -> CodeCache_lock(nosafepoint-3) -> VtableStubs_lock(nosafepoint-2) -> CompiledIC_lock(nosafepoint)
CodeSweeper_lock(nosafepoint-5) -> CompiledMethod_lock(nosafepoint-4)
ThreadsSMRDelete_lock(nosafepoint-2) -> (can't remember which one was nosafepoint-1 anymore!)
The compiler locks have the deepest nestings.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5563
More information about the serviceability-dev
mailing list