From e7e0af0e596269221f9717a3658cffbeee7a5c2a Mon Sep 17 00:00:00 2001 From: tromey Date: Tue, 27 Sep 2005 20:03:09 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104707 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjava/configure.ac') diff --git a/libjava/configure.ac b/libjava/configure.ac index 2517ac84a82..fbd2a3d15e7 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -1439,6 +1439,8 @@ else multilib_arg= fi +# See if we support thread-local storage. +GCC_CHECK_TLS here=`${PWDCMD-pwd}` -- cgit v1.2.3