harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egor Pasko <egor.pa...@gmail.com>
Subject Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic
Date Thu, 17 Aug 2006 07:01:51 GMT
On the 0x1C8 day of Apache Harmony Weldon Washburn wrote:
> Windows uses ia32 segment register fs:14 for fast thread-local storage
> access.  I think Linux somehow uses the gs segment register.  

In general, it is implementation-specific (not older kernels).

Here is a good link for that:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4915203

I wonder, how to handle system-dependent code with Java vmmagic :(
A simple if-then-else would make an #ifdef replacement?

-- 
Egor Pasko, Intel Managed Runtime Division


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message