<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Only if we never have to pay the cost of allocating the arguments array.<div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="Apple-interchange-newline">Cheers,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Chris</div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 17 Dec 2015, at 15:54, thurstonn <<a href="mailto:thurston@nomagicsoftware.com" class="">thurston@nomagicsoftware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">If possible, it would be convenient if #reachabilityFence were defined as<br class="">varargs:<br class=""><br class="">public static void reachabilityFence(Object...  refs)<br class=""><br class="">as there are many cases (e.g. Hans Boehm provides one in this thread) where<br class="">one would want to extend reachability to a set of objects to the same point. <br class="">I wouldn't think that any ordering guarantee need to be preserved in the<br class="">case where multiple args were passed<br class=""><br class="">I don't know the effect that might have upon the compiler<br class=""><br class=""><br class=""><br class="">--<br class="">View this message in context: <a href="http://jsr166-concurrency.10961.n7.nabble.com/DirectByteBuffers-and-reachabilityFence-tp12935p13092.html" class="">http://jsr166-concurrency.10961.n7.nabble.com/DirectByteBuffers-and-reachabilityFence-tp12935p13092.html</a><br class="">Sent from the JSR166 Concurrency mailing list archive at <a href="http://nabble.com" class="">Nabble.com</a>.<br class="">_______________________________________________<br class="">Concurrency-interest mailing list<br class=""><a href="mailto:Concurrency-interest@cs.oswego.edu" class="">Concurrency-interest@cs.oswego.edu</a><br class="">http://cs.oswego.edu/mailman/listinfo/concurrency-interest<br class=""></div></div></blockquote></div><br class=""></div></body></html>