RFR: 8291555: Implement alternative fast-locking scheme [v29]
David Holmes
dholmes at openjdk.org
Mon Mar 27 02:49:57 UTC 2023
On Fri, 24 Mar 2023 17:11:46 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> AFAIU, these places now could get outdated information from the contains function: either getting a false positive or a false negative when asking for a given object. But if I understand correctly, this had been the case before, too. Since the information about ownership may be outdated as soon as one read the BasicLock* address from the markwork. So these APIs do only report a state that once had been, but never the current state.
Sure but my concern is not stale data, it is whether the lock-stack code may crash (or otherwise misbehave) if there are concurrent changes to it whilst it is being queried.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/10907#issuecomment-1484401692
More information about the serviceability-dev
mailing list