[rvm-research] primitive read barriers

Shoaib Akram <[email protected]> Sat, 25 Nov 2017 20:52:44 +0100
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi All,

I want to barrier all read operations in MMTk. But when I enable read barriers, only the reference read barrier work.

I have used primitive write barriers in Jikes before. For them to work, I had to specify the needsPrimitiveWriteBarrier() is the constraints file of my Plan. Then, I had to declare the method that executes the barrier code in my Mutator. I am doing the same for enabling read barriers.

Is there a reason primitive read barriers don’t work in Jikes? I thought the support was added quite a while ago for primitive read and write barriers.

Also the PlanConstraints file have methods such as needsBooleanReadBarrier and so on. So, I assume there is support for primitive read barriers, or no? 

Regards,
Shoaib.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers