Correct implementation of full memory fences in the compilers

Description

Full memory fences are currently not correctly implemented in the Jikes RVM. The FENCE operator is missing the acquire trait, which is fixed by the attached patch by Michael Bond.

Additionally, the PPC compilers ought to use hwsync for full memory fences instead of lwsync which is emitted by default when using the emitSYNC function of the PPC assembler.

Environment

IA32 opt compiler, PPC compilers

Status

Assignee

Erik Brangs

Reporter

Erik Brangs

Labels

None

Fix versions

Affects versions

Priority

High
Configure