[concurrency-interest] DirectByteBuffers and reachabilityFence

thurstonn thurston at nomagicsoftware.com
Thu Dec 17 09:54:20 EST 2015


If possible, it would be convenient if #reachabilityFence were defined as
varargs:

public static void reachabilityFence(Object...  refs)

as there are many cases (e.g. Hans Boehm provides one in this thread) where
one would want to extend reachability to a set of objects to the same point. 
I wouldn't think that any ordering guarantee need to be preserved in the
case where multiple args were passed

I don't know the effect that might have upon the compiler



--
View this message in context: http://jsr166-concurrency.10961.n7.nabble.com/DirectByteBuffers-and-reachabilityFence-tp12935p13092.html
Sent from the JSR166 Concurrency mailing list archive at Nabble.com.


More information about the Concurrency-interest mailing list