Tom Tromey
b9e6a2e5de
re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe)
PR libgcj/23367:
* include/jvm.h (_Jv_FreeMethodCache): Declare.
* java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
(struct _Jv_mcache): Likewise.
(method_cache): Likewise.
(_Jv_FindMethodInCache): Do nothing unless TLS is available.
(_Jv_AddMethodToCache): Likewise.
(_Jv_FreeMethodCache): New function.
* java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
* aclocal.m4, configure, include/config.h.in: Rebuilt.
* configure.ac: Invoke GCC_CHECK_TLS.
From-SVN: r104707
2005-09-27 20:03:09 +00:00
..
2005-01-02 03:35:57 +00:00
2005-09-27 20:03:09 +00:00
2004-07-01 04:09:07 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2004-11-25 03:47:08 +00:00
2005-09-09 13:05:20 +00:00
2005-06-30 03:22:09 +00:00
2005-09-15 22:02:13 +00:00
2005-09-08 21:26:25 +00:00
2005-03-16 18:18:59 +00:00
2005-06-30 03:22:09 +00:00
2005-09-27 20:03:09 +00:00
2005-09-23 21:31:04 +00:00
2005-09-27 20:03:09 +00:00
2004-09-26 13:38:49 -07:00
2004-12-01 21:44:09 +00:00
2004-07-09 03:39:35 +00:00
2004-10-11 10:49:39 -07:00
2005-03-22 20:10:16 +00:00
2004-02-10 23:57:43 +10:30
2004-07-14 13:09:09 +00:00
2004-10-21 10:44:39 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2004-09-11 19:13:51 +00:00
2004-08-01 04:29:31 +00:00
2004-02-08 18:35:52 +01:00