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 Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
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 Initial revision 2001-05-21 07:39:23 +01:00
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 Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
MacOS.c Merged GC 5.0alpha4 with local changes, plus: 1999-11-01 23:15:51 +00:00
MacProjects.sit.hqx Initial revision 1999-04-07 08:01:30 +00:00
Makefile.DLLs Initial revision 1999-04-07 08:01:30 +00:00
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 Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes. 2001-10-16 10:01:40 +01:00
OS2_MAKEFILE Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
PCR-Makefile Merged GC 5.0alpha4 with local changes, plus: 1999-11-01 23:15:51 +00:00
SMakefile.amiga Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
WCC_MAKEFILE Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
aclocal.m4 Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
add_gc_prefix.c Makefile.am, [...]: Imported GC 6.0 and merged local changes. 2001-08-18 01:04:43 +00:00
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 Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
callprocs Initial revision 1999-04-07 08:01:30 +00:00
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 Initial revision 2003-07-28 03:46:07 +00:00
digimars.mak Initial revision 2001-08-17 18:39:15 +00:00
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 Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes. 2001-10-16 10:01:40 +01:00
gc_cpp.cc Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
gc_cpp.cpp Initial revision 2001-05-21 07:39:23 +01:00
gc_dlopen.c Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
gcc_support.c Initial revision 1999-04-07 08:01:30 +00:00
gcj_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
gcname.c Initial revision 2001-08-17 18:39:15 +00:00
headers.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
hpux_test_and_clear.s Initial revision 1999-11-01 20:48:50 +00:00
ia64_save_regs_in_stack.s Initial revision 2001-10-15 05:57:59 +01:00
if_mach.c Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
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 ffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32. 2003-10-20 18:37:22 +00:00
mips_ultrix_mach_dep.s Initial revision 1999-04-07 08:01:30 +00:00
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 Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
os_dep.c Backport Windows 9x/ME VirtualQuery() fix from GC 6.7. 2006-06-20 17:10:19 +00:00
pc_excludes Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
pcr_interface.c Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
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 Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
real_malloc.c Initial revision 1999-04-07 08:01:30 +00:00
reclaim.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
rs6000_mach_dep.s gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX. 2002-01-25 13:06:24 -05:00
setjmp_t.c Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
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 Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
sparc_netbsd_mach_dep.s Initial revision 2001-05-21 07:39:23 +01:00
sparc_sunos4_mach_dep.s Merged GC 5.0alpha4 with local changes, plus: 1999-11-01 23:15:51 +00:00
specific.c specific.c: Check GC_LINUX_THREADS before including private/specific.h. 2004-08-17 00:06:46 +01:00
stubborn.c Imported version version 6.0alpha7. 2001-05-21 09:35:14 +01:00
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