-
Enhancement
-
Resolution: Fixed
-
P4
-
18
-
b14
The ReferenceProcessor uses the term "atomic" to indicate "atomicity vs. the mutator" during reference discovery.
This somewhat unusual terminology causes lots of confusion for first time and often-time readers, mixing it up with atomic operations used elsewhere, and apparently causes long-standing bugs (e.g.JDK-8272985).
In practice it simply means whether the reference discovery is concurrent to the mutator or done in an STW pause.
Remove the use of "atomic" everywhere and replace it with something like "concurrent" or "in_stw" (probably preferably the former) as this much more commonly used and well understood.
This somewhat unusual terminology causes lots of confusion for first time and often-time readers, mixing it up with atomic operations used elsewhere, and apparently causes long-standing bugs (e.g.
In practice it simply means whether the reference discovery is concurrent to the mutator or done in an STW pause.
Remove the use of "atomic" everywhere and replace it with something like "concurrent" or "in_stw" (probably preferably the former) as this much more commonly used and well understood.
- relates to
-
JDK-8282307 Parallel: Incorrect discovery mode in PCReferenceProcessor
-
- Resolved
-
-
JDK-8272985 Reference discovery is confused about atomicity and degree of parallelism
-
- Closed
-