Adding read barriers to the interpreter
Christian Thalinger
christian.thalinger at oracle.com
Fri May 9 02:41:51 UTC 2014
Look at the get and putfield code in TemplateTable. For volatile fields we already emit a memory barrier.
On May 7, 2014, at 3:17 PM, Meisam Fathi <meisam.fathi at gmail.com> wrote:
> Hi,
>
> I nee to add read barriers before putfield and get field instructions in the hotspot interpreter.
> Would somebody direct me to the point in the code where I should add read or write barriers?
>
> Thanks,
> Meisam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140508/afd56666/attachment.html>
More information about the hotspot-compiler-dev
mailing list