(L) Prelim RFR: 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
david.holmes at oracle.com
Fri Nov 6 10:09:25 UTC 2015
On 6/11/2015 7:53 PM, Andrew Haley wrote:
> On 05/11/15 22:54, David Holmes wrote:
>> Not sure why you had to inject the helper rather than just "call"
> Because Thread::current() might clobber vector state. It's perfectly
> well allowed to.
Sorry I really don't understand. If Thread::current can clobber state
then your helper will have to preserve it. So why can't the caller of
the helper do the same preservation and skip the need for a helper??
More information about the hotspot-dev