ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
37 stars 36 forks source link

Fix release semantics in jvm_objectmonitor #59

Closed chacon01 closed 4 years ago

chacon01 commented 4 years ago

The existing release_store_thread does not provide release semantics. Replace the implemtation with a store that does provide release semantics and which allows better optimization on architectures with dedicated store-with-release-semantics instructions.

Fixes #58

Change-Id: I3fd68689a79565b50c122ea3b964127e40c00b60 Signed-Off-By: Chase Conklin chase.conklin@arm.com

rpgolshan commented 4 years ago

Passed all the tests on 2 socket x86 and Arm platforms.