[concurrency-interest] DirectByteBuffers and reachabilityFence

Gil Tene gil at azul.com
Wed Dec 9 12:23:28 EST 2015


> On Dec 9, 2015, at 9:18 AM, Andrew Haley <aph at redhat.com> wrote:
> 
> 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.

Actually, it would only add a stack slot. And a spill into it if needed.

> Andrew.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20151209/bf0a70cc/attachment.bin>


More information about the Concurrency-interest mailing list