[concurrency-interest] DirectByteBuffers and reachabilityFence

Andrew Haley aph at redhat.com
Wed Dec 9 12:18:16 EST 2015


On 12/09/2015 04:16 PM, Vitaly Davidovich wrote:
>>
>> an implicit implication that 'this' must remain reachable until after the
>> last instruction in each of its instance methods
> 
> Why wouldn't this work, at least as a compromise?

It would, but it would hurt performance because of increased register
pressure.

Andrew.



More information about the Concurrency-interest mailing list