gcc/boehm-gc
Bryce McKinlay 7ddf92a874 re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector)
boehm-gc
	PR libgcj/13212:
	* configure.ac: Check for pthread_getattr_np(). Remove
	GC_PTHREAD_SYM_VERSION detection.
	* include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
	GC_get_thread_stack_base): New declarations.
	* pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
	GC_get_thread_stack_base): New functions.
	(GC_delete_thread): Don't try to free the first_thread.
	* misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
	(pthread_create_, constr): Removed.
	(pthread_create): Don't rename.
	* include/gc_ext_config.h.in: Rebuilt.
	* include/gc_pthread_redirects.h (pthread_create): Define 
	unconditionally.
	* include/gc_config.h.in: Rebuilt.
	* configure: Rebuilt.
libjava
	* java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
	to GC.
	(_Jv_DetachCurrentThread): Detach thread from GC.
	* include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
	Declare.
	* boehm.cc (_Jv_GCAttachThread): New function.
	(_Jv_GCDetachThread): Likewise.

From-SVN: r116313
2006-08-21 22:07:30 +00:00
..
Mac_files
cord Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
doc Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
include re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
tests Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
AmigaOS.c
BCC_MAKEFILE configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
ChangeLog re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
EMX_MAKEFILE
MacOS.c
MacProjects.sit.hqx
Makefile.DLLs
Makefile.am Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
Makefile.direct Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
Makefile.dist configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
Makefile.dj configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
Makefile.in Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
NT_MAKEFILE configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
NT_STATIC_THREADS_MAKEFILE Initial revision 2004-08-12 22:14:23 +01:00
NT_THREADS_MAKEFILE
OS2_MAKEFILE
PCR-Makefile
SMakefile.amiga
WCC_MAKEFILE
aclocal.m4 Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
add_gc_prefix.c
allchblk.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alloc.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alpha_mach_dep.S Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
backgraph.c backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split GC_traverse_back_graph. 2004-08-28 00:41:41 +00:00
blacklst.c
callprocs
checksums.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
configure re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
configure.ac re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
configure.host re PR libgcj/19823 (java fails with non-executable memory) 2005-02-16 04:10:42 +00:00
darwin_stop_world.c Index: gcc/ChangeLog 2006-06-03 02:07:36 +00:00
dbg_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
depcomp
digimars.mak
dyn_load.c Backport Windows 9x/ME VirtualQuery() fix from GC 6.7. 2006-06-20 17:10:19 +00:00
finalize.c backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split GC_traverse_back_graph. 2004-08-28 00:41:41 +00:00
gc.mak
gc_cpp.cc
gc_cpp.cpp
gc_dlopen.c
gcc_support.c
gcj_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
gcname.c
headers.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
hpux_test_and_clear.s
ia64_save_regs_in_stack.s
if_mach.c
if_not_there.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
mach_dep.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
malloc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
mallocx.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mark.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mark_rts.c allchblk.c (GC_allochblk_nth): Dont overlook available space if GC disabled... 2005-02-09 21:33:02 +00:00
mips_sgi_mach_dep.s
mips_ultrix_mach_dep.s
misc.c re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
new_hblk.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
obj_map.c
os_dep.c Backport Windows 9x/ME VirtualQuery() fix from GC 6.7. 2006-06-20 17:10:19 +00:00
pc_excludes
pcr_interface.c
powerpc_darwin_mach_dep.s Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
pthread_stop_world.c pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged... 2006-06-21 20:56:37 +00:00
pthread_support.c re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
ptr_chck.c
real_malloc.c
reclaim.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
rs6000_mach_dep.s
setjmp_t.c
solaris_pthreads.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
solaris_threads.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
sparc_mach_dep.S
sparc_netbsd_mach_dep.s
sparc_sunos4_mach_dep.s
specific.c specific.c: Check GC_LINUX_THREADS before including private/specific.h. 2004-08-17 00:06:46 +01:00
stubborn.c
threadlibs.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
typd_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
version.h Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
win32_threads.c Remove svn:executable property. 2006-01-25 03:13:18 +00:00