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
> 



More information about the hotspot-runtime-dev mailing list