aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
2002-04-23Makefile.am (toolexeclib_LTLIBRARIES): Remove.Jeff Sturm3-112/+40
* Makefile.am (toolexeclib_LTLIBRARIES): Remove. (noinst_LTLIBRARIES): Add libgcjgc.la. * Makefile.in: Rebuild. From-SVN: r52651
2002-04-21[multiple changes]David S. Miller2-4/+14
2002-04-22 David S. Miller <davem@redhat.com> * include/private/gcconfig.h: Hard-code STACKBOTTOM on 64-bit SPARC Linux, the __libc_stack_end technique does not work in this case. 2002-04-22 Jeff Sturm <jsturm@one-point.com> * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs. From-SVN: r52601
2002-04-17gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.Hans Boehm2-2/+6
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux. From-SVN: r52440
2002-04-09gcconfig.h (DATAEND): Update comment example to match reality.Loren J. Rittle2-2/+7
* include/private/gcconfig.h (DATAEND): Update comment example to match reality. From-SVN: r52098
2002-04-09* include/private/gcconfig.h (DATAEND): Clarify comment.Loren J. Rittle2-0/+7
From-SVN: r52054
2002-04-09gc_priv.h (WARN macro): Add "GC warning:" prefix.Hans Boehm6-12/+68
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): declare. * allchblk.c (GC_allchblk_nth): Change text and support reduced frequency for blacklist warning message. * misc.c (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): define. (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and GC_LARGE_ALLOC_WARN_INTERVAL environment variables. * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate. (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation. * dyn_load.c (_DYNAMIC): Move declaration to file scope. From-SVN: r52053
2002-04-04gcconfig.h: Add support for an unmapped memory hole between the end of the ↵Loren J. Rittle2-0/+14
initialized data... * include/private/gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data segment and the start of the BSS on FreeBSD/i386. From-SVN: r51867
2002-03-31gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386.Bryce McKinlay2-0/+20
2002-03-30 Krister Walfridsson <cato@df.lth.se> * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386. From-SVN: r51616
2002-03-29linux_threads.c (return_free_lists): Clear fl[i] unconditionally.Hans Boehm5-19/+78
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally. (GC_local_gcj_malloc): Add assertion. (start_mark_threads): Fix abort message. * mark.c (GC_mark_from): Generalize assertion. * reclaim.c (GC_clear_fl_links): New function. (GC_start_reclaim): Must clear some freelist links. * include/private/specific.h, specific.c: Add assertions. Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments. Rearrange tse fields. From-SVN: r51582
2002-03-27os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end.Richard Henderson2-8/+13
* os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end. From-SVN: r51467
2002-03-25gcconfig.h: Change all likely references to linker script synthesized ↵Loren J. Rittle2-141/+149
symbols to use this... * include/private/gcconfig.h: Change all likely references to linker script synthesized symbols to use this idiom: extern int etext[]; etext From-SVN: r51352
2002-03-25* linux_threads.c (GC_get_nprocs): Close file descriptor.Jeff Sturm2-0/+12
From-SVN: r51321
2002-03-22gcconfig.h: Add unified test for FreeBSD.Loren J. Rittle3-9/+40
* include/private/gcconfig.h: Add unified test for FreeBSD. Support FreeBSD/alpha. * os_dep.c: Do not include <machine/trap.h> unless available. (GC_freebsd_stack_base): Fix types. From-SVN: r51159
2002-03-17Makefile.am: Make target library a convenience library.Bryce McKinlay3-33/+126
zlib: * Makefile.am: Make target library a convenience library. * Makefile.in: Rebuilt. libffi: * Makefile.am: libfficonvenience -> libffi_convenience. * Makefile.in: Rebuilt. boehm-gc: * Makefile.am: Make a convenience library. * Makefile.in: Rebuilt. libjava: Build a single libgcj.so, without separate gc and zlib libraries. * configure.in: Use convenience libraries for boehm-gc and zlib. Set SYS_ZLIBS if system zlib is used. * configure: Rebuilt. * Makefile.am: Use boehm-gc and zlib convenience libraries. * Makefile.in: Rebuilt. * libtool-version: Increment .so version number. From-SVN: r50900
2002-03-15Address mingw32 issues.Anthony Green4-6/+19
From-SVN: r50816
2002-03-12dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.Adam Megacz6-23/+38
2002-03-12 Adam Megacz <adam@xwt.org> * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls. * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and statically initialized it to TRUE if compiling with GCC. * win32_threads.c (thread_start): We no longer use SEH if compiling with GCC. * mark.c (GC_mark_some): We no longer use SEH if compiling with GCC. From-SVN: r50671
2002-03-10Hashtable synchronization for PowerPC.Bryce McKinlay2-0/+11
libjava: Hashtable synchronization for PowerPC. * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure: Rebuild. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * prims.cc: 64-bit align static primitive class instances. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization isenabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. From-SVN: r50523
2002-02-25Makefile.am: Added win32_threads.c to sources list.Adam Megacz4-60/+20
2002-02-24 Adam Megacz <adam@xwt.org> * Makefile.am: Added win32_threads.c to sources list. * win32_threads.c: Added two */'s which I had neglected. From-SVN: r50016
2002-02-20Makefile.am: Re-add SUBDIRS parameter which was lost in merge.Bryce McKinlay3-23/+109
* Makefile.am: Re-add SUBDIRS parameter which was lost in merge. * Makefile.in: Rebuilt. From-SVN: r49895
2002-02-15Import bugfix.Mike Stump1-1/+1
From-SVN: r49779
2002-02-14Removed .s files.Bryce McKinlay2-108/+0
From-SVN: r49752
2002-02-13dbg_mlc.c (GC_debug_generic_malloc): Removed.Bryce McKinlay6-33/+122
* dbg_mlc.c (GC_debug_generic_malloc): Removed. * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a preprocessor file. * mips_sgi_mach_dep.S: Likewise. * Makefile.am: Update for above changes. * Makefile.in: Rebuilt. From-SVN: r49720
2002-02-12configure.in: Re-apply 2001-06-26 configure change.Richard Henderson3-22/+25
* configure.in: Re-apply 2001-06-26 configure change. * configure: Rebuild. From-SVN: r49709
2002-02-12* sparc_mach_dep.S: Delete incorrectly named file.Bryce McKinlay2-67/+2
From-SVN: r49699
2002-02-12Imported GC 6.1 Alpha 3. Finally.Bryce McKinlay40-510/+1285
From-SVN: r49698
2002-02-11configure.in: support for win32, saner cross-compile optionsAdam Megacz3-17/+21
2002-02-11 Adam Megacz <adam@xwt.org> * gcc/boehm-gc/configure.in: support for win32, saner cross-compile options From-SVN: r49681
2002-02-09xscale-elf supportAnthony Green4-54/+89
From-SVN: r49626
2002-02-07gc.h: (GC_CreateThread) This function is now exposed on all Win32 platforms.Adam Megacz4-16/+46
2002-02-06 Adam Megacz <adam@xwt.org> * boehm-gc/include/gc.h: (GC_CreateThread) This function is now exposed on all Win32 platforms. * boehm-gc/win32_threads.c: (GC_CreateThread) This now compiles on Win32; it invokes CreateThread() if GC is built as a DLL; otherwise it registers the thread. * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case libgcjgc was not built as a DLL. From-SVN: r49563
2002-02-022002-02-01 Adam Megacz <adam@xwt.org>Adam Megacz2-1/+6
* boehm-gc on win32 now automatically detects if it is being built as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html From-SVN: r49426
2002-01-31This commit was generated by cvs2svn to compensate for changes in r49361,Bryce McKinlay3-352/+555
which included commits to RCS files with non-trunk default branches. From-SVN: r49362
2002-01-31Initial revisionBryce McKinlay3-0/+589
From-SVN: r49359
2002-01-25gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.David Edelsohn4-6/+32
* include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX. * include/private/gcconfig.h (RS6000): Add 64-bit AIX support. Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for DATASTART and DATAEND roots. * rs6000_mach_dep.s: Add function descriptor and traceback table. From-SVN: r49218
2001-12-17dyn_load.c: Define ElfW (if needed) for all targets, not just GNU/Linux.Jeff Sturm3-19/+29
* dyn_load.c: Define ElfW (if needed) for all targets, not just GNU/Linux. (GC_FirstDLOpenedLinkMap): Use it. (GC_register_dynamic_libraries_dl): Use it. * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS for sparcv9. From-SVN: r48086
2001-12-16re PR other/3725 (changed to configure.in's for autoconf 2.50)Craig Rodrigues3-2/+10
2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org> PR other/3725 * configure.in: Add AC_SUBST(target_alias). * configure: Regenerated. From-SVN: r48063
2001-11-26linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for ↵Loren J. Rittle4-18/+16
GC_FREEBSD_THREADS. * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS. * configure.in (*-*-freebsd*): Clarify warning. * configure: Rebuilt. From-SVN: r47347
2001-10-23solaris_threads.h: Update to use GC_SOLARIS_THREADS.Loren J. Rittle2-2/+7
* include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS. Co-Authored-By: Andreas Tobler <toa@pop.agri.ch> From-SVN: r46451
2001-10-23linux_threads.c (GC_init_parallel): Do not declare as a static constructor.Bryce McKinlay4-6/+16
* linux_threads.c (GC_init_parallel): Do not declare as a static constructor. * include/gc.h (GC_init): Declare here. Add description. * include/private/gc_priv.h (GC_init): Remove declaration. From-SVN: r46420
2001-10-17gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.Loren J. Rittle5-5/+30
* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS. * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on GC_FREEBSD_THREADS, handle strange interaction between system pthread implementation and boehm-gc signal-handler architecture. * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS, set stack. * include/private/gcconfig.h (configuration keyed off FREEBSD): Define SIG_SUSPEND, SIG_THR_RESTART. Do not define MPROTECT_VDB when GC_FREEBSD_THREADS is defined. From-SVN: r46307
2001-10-17Makefile.am (test.o): Find tests/test.c in $(srcdir).Loren J. Rittle3-3/+8
* Makefile.am (test.o): Find tests/test.c in $(srcdir). * Makefile.in: Rebuilt. From-SVN: r46304
2001-10-16Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.Bryce McKinlay39-356/+669
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and merged local changes. From-SVN: r46283
2001-10-15This commit was generated by cvs2svn to compensate for changes in r46260,Bryce McKinlay1-7/+21
which included commits to RCS files with non-trunk default branches. From-SVN: r46261
2001-10-15Initial revisionBryce McKinlay1-0/+12
From-SVN: r46258
2001-09-26solaris_threads.c (MAX_ORIG_STACK_SIZE): Provide special Solaris 2/Intel ↵Rainer Orth5-3/+39
definition. * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special Solaris 2/Intel definition. * configure.in (i?86-*-solaris2.[89]*): Define SOLARIS25_PROC_VDB_BUG_FIXED. * include/private/gcconfig.h [I386 && SUNOS5]: Use it. * configure: Regenerate. * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext. (DATAEND): Define using _end. From-SVN: r45825
2001-09-11Makefile.am: New file.Per Bothner7-167/+452
* include/Makefile.am: New file. It defines include_HEADERS. * Makefile.am (SUBDIRS): New macro, set to include. * configure.in (AC_OUTPUT): Add include/Makefile. From-SVN: r45555
2001-08-20configure: Rebuilt.Tom Tromey3-91/+82
* configure: Rebuilt. * configure.in: Always ask gcc for threads package. From-SVN: r45052
2001-08-18Makefile.am, [...]: Imported GC 6.0 and merged local changes.Tom Tromey42-707/+1274
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and merged local changes. From-SVN: r44994
2001-08-17Initial revisionTom Tromey15-0/+11927
From-SVN: r44969
2001-08-02configure.in: POSIX threads on cygwin does not link with -lpthreads.David Billinghurst3-3/+15
2001-08-02 David Billinghurst <David.Billinghurst> * configure: Rebuilt. * configure.in: POSIX threads on cygwin does not link with -lpthreads. From-SVN: r44574
2001-07-03re PR bootstrap/3281 (Installation failure (mkinstalldirs))Tom Tromey5-74/+104
Fix for PR bootstrap/3281: * aclocal.m4, configure, Makefile.in: Rebuilt. * acinclude.m4: Set mkinstalldirs for in-tree build. From-SVN: r43738
2001-06-26alpha_mach_dep.s: Mark call-saved FP registers.Richard Henderson5-146/+156
* alpha_mach_dep.s: Mark call-saved FP registers. * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS. * configure.in (alpha*): Re-enable alpha_mach_dep.s * configure: Rebuild. From-SVN: r43593