From: Rémi Forax <fo...@univ-mlv.fr>
Date: Fri, 04 Apr 2008 10:46:07 +0200
Local: Fri, Apr 4 2008 4:46 am
Subject: Re: [jvm-l] Re: Performance characteristics of mutable static primitives?
John Cowan a écrit :
> On Thu, Apr 3, 2008 at 1:43 PM, John Rose <John.R...@sun.com> wrote: yes, ThreadLocal is currently implemented has a field of >> Even better (if applicable) would be to have fast thread-local counters, > That reminds me of an old question of mine. In the case where a > class MyThread extends Thread { ... } > then in the new thread, is Thread.currentThread() always == to the java.lang.Thread storing a map, so there is no synchronization. > and the JVM is used to thread them cheers, > through :-) the code until the point where they're needed. Rémi 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.
| ||||||||||||||