On Sat, Apr 09, 2005 at 04:01:37PM -0400, Prof. Laurie HENDREN wrote:
> I don't remember if ajc1.2 uses ThreadLocal or not. Do you have
> a copy of the ajc 1.2 runtime lib to check? I'm pretty sure that
> ajc1.2.1 does use ThreadLocal (but not with my caching trick).
Yes, both ajc 1.2 and 1.2.1 use ThreadLocal.
I decompiled the 1.2.1 code, and I don't see any caching trick.
What is your caching trick? In the abc implementation, I see it keeps a
field of the last thread and the stack for that thread, and if it's on
the same thread, it just returns it without asking the ThreadLocal. Is
that your trick? ajc doesn't do that.
Ondrej
Received on Mon Apr 11 15:22:20 2005
This archive was generated by hypermail 2.1.8 : Mon Apr 11 2005 - 16:00:05 BST