Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • tromey's avatar
    e7e0af0e
    PR libgcj/23367: · e7e0af0e
    tromey authored
    	* 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
    e7e0af0e
    History
    PR libgcj/23367:
    tromey authored
    	* 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