gcc/libjava/java
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
..
io Major merge with Classpath. 2005-07-16 01:27:14 +00:00
lang re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe) 2005-09-27 20:03:09 +00:00
net Correction. Committed wrong patch earlier today. 2005-09-17 04:20:26 +00:00
nio Major merge with Classpath. 2005-07-16 01:27:14 +00:00
security Major merge with Classpath. 2005-07-16 01:27:14 +00:00
text Major merge with Classpath. 2005-07-16 01:27:14 +00:00
util Major merge with Classpath. 2005-07-16 01:27:14 +00:00