[concurrency-interest] Direct Byte Buffer memory visibility

Matthias Ernst matthias at mernst.org
Tue Apr 22 07:21:19 EDT 2008


just musing: is it reasonable to assume that all rules for operations
on object fields and arrays also extend to direct byte buffers?
I.e. is the visibility guaranteed when I construct a happens-before
relationship between the modification and the reading of buffer
I assume the intrinsification happens-before reordering so the stuff
looks the same to the optimizer?


More information about the Concurrency-interest mailing list