Adding read barriers to the interpreter
rkennke at redhat.com
Fri May 9 07:37:54 UTC 2014
The Shenandoah GC currently uses read barriers on field and array
access. You could check out the code and study it:
Search for 'resolve_oop' (the runtime read barriers) and
compile_resolve_oop (the barrier that is compiled in by the interpreter
and C1 compiler). C2 barriers is currently under development.
Am Mittwoch, den 07.05.2014, 21:17 -0400 schrieb Meisam Fathi:
> 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?
More information about the hotspot-runtime-dev