gcc/libjava/gcj
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
..
.cvsignore
array.h
cni.h re PR libgcj/20090 (gij should be implemented in Java) 2005-04-02 02:26:51 +00:00
field.h
javaprims.h javaprims.h: Updated. 2005-05-10 18:28:31 +00:00
libgcj-config.h.in
Makefile.am gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile. 2005-03-21 18:12:32 +00:00
Makefile.in re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe) 2005-09-27 20:03:09 +00:00
method.h [multiple changes] 2005-02-22 03:13:35 +00:00