Ping: RFR: JDK-8205523: Explicit barriers for interpreter
Andrew Haley
aph at redhat.com
Wed Jun 27 10:44:58 UTC 2018
On 06/27/2018 11:42 AM, Roman Kennke wrote:
> It should be noted that normal loads and stores are already covered
> by the Access API, and we emit the correct read- and write
> barriers. This is about a few places that don't easily fit that
> model and still require barriers. That is monitor enter/exit (need
> WBs anyway) and a few intrinsics, in the interpreter only
> CRC32. This requires an RB on the buffer array. Yeah, it's probably
> OK to emit WB there too. If it's really hot, it'd be compiled by C1
> or C2.
Right, but as you correctly note we'll have exactly the same
discussion about C1, with the same points made.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list