Skip to content

Commit c9ef296

Browse files
committed
full_memory_barrier was moved in TruffleRuby
1 parent 1aa9622 commit c9ef296

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/concurrent/synchronization/truffle_object.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ def attr_volatile(*names)
1414
end
1515

1616
def full_memory_barrier
17-
# Rubinius instance variables are not volatile so we need to insert barrier
18-
Rubinius.memory_barrier
17+
Truffle::System.full_memory_barrier
1918
end
2019
end
2120

0 commit comments

Comments
 (0)