RFR: Move barriers into typeArrayOop.hpp direct memory accessors
Aleksey Shipilev
shade at redhat.com
Fri Feb 16 14:23:20 UTC 2018
On 02/16/2018 02:01 PM, Roman Kennke wrote:
> I propose to place pessimistic write barriers into those accessors for
> now, and remove all the barriers in callers. The potential performance
> loss seems the less evil compared to corrupted memory due to missing
> barriers.
Yes, that makes sense. On the other hand, pre-copying the arrays before doing the native accesses to
them probably simplifies pinning.
> http://cr.openjdk.java.net/~rkennke/typearray-barriers/webrev.00/
This looks good to me.
-Aleksey
More information about the shenandoah-dev
mailing list