mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7143664: Clean up OrderAccess implementations and usage
Clarify and correct the abstract model for memory barriers provided by the orderAccess class. Refactor the implementations using template specialization to allow the bulk of the code to be shared, with platform specific customizations applied as needed. Reviewed-by: acorn, dcubed, dholmes, dlong, goetz, kbarrett, sgehwolf
This commit is contained in:
parent
8c5e105bac
commit
c2a4574760
16 changed files with 494 additions and 1232 deletions
|
@ -3947,12 +3947,10 @@ void LIR_Assembler::membar() {
|
|||
|
||||
void LIR_Assembler::membar_acquire() {
|
||||
// No x86 machines currently require load fences
|
||||
// __ load_fence();
|
||||
}
|
||||
|
||||
void LIR_Assembler::membar_release() {
|
||||
// No x86 machines currently require store fences
|
||||
// __ store_fence();
|
||||
}
|
||||
|
||||
void LIR_Assembler::membar_loadload() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue