RFR(M): 8195112: x86 (32 bit): implementation for Thread-local handshakes

Robbin Ehn robbin.ehn at oracle.com
Thu Jan 18 12:09:31 UTC 2018

On 2018-01-18 12:53, Andrew Haley wrote:
> On 18/01/18 11:38, Robbin Ehn wrote:
>> Martin address you directly in RFR and I ask for a review from you guys, what more could we have done?
> Have patience.  This patch was proposed three days ago, during a
> critical patch release period.  I'll look at fast algorithms for
> Thread::current().

There was never no rush and I was waiting for you to respond.
JavaThread lifecycle don't match pthread lifecycle, so moving to a tls algorithm
where we can control the lifetime would be great IMHO. For normal JavaThread (non-attaching)
I guess we can put them under stack if we allocate stack our-self.
I think attaching threads is the nut to crack.


More information about the hotspot-runtime-dev mailing list