RFR: 8267579: Thread::cooked_allocated_bytes() hits assert(left >= right) failed: avoid underflow [v2]

Kim Barrett kbarrett at openjdk.java.net
Fri Jun 11 07:00:59 UTC 2021


On Thu, 10 Jun 2021 13:03:54 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Kim has been looking through the standards w.r.t. atomic and read-read coherence and has some insights. Could be worth reading:
> https://mail.openjdk.java.net/pipermail/hotspot-dev/2021-June/052745.html

read-read coherence only applies to reads of the same atomic object.  That doesn't apply to the case at hand.

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

PR: https://git.openjdk.java.net/jdk/pull/4363


More information about the hotspot-jfr-dev mailing list