The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: John Rose <John.R...@Sun.COM>
Date: Thu, 03 Apr 2008 16:01:54 -0700
Local: Thurs, Apr 3 2008 7:01 pm
Subject: Re: [jvm-l] Re: Performance characteristics of mutable static primitives?
On Apr 3, 2008, at 12:31 PM, John Cowan wrote:
> That reminds me of an old question of mine. In the case where a Yes. You can then cast it to the subclass and go on from there. > thread has been created from an object whose class is a subclass of > Thread, is Thread.currentThread() guaranteed to give you back the same > object? > If so, that provides a different approach That's how Java thread locals are implemented in the JVM. > to thread-local state, where the state is held in the instance > variables of MyThread objects, and the JVM is used to thread them > through :-) the code until the point where they're needed. You can only use this approach if (a) you control the creation of the You might be interested to know that Hotspot intrinsifies Best, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||