aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
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
2001-06-13aclocal.m4, configure: Rebuilt.Tom Tromey4-3/+8
* aclocal.m4, configure: Rebuilt. * acinclude.m4: Find configure.host in srcdir. From-SVN: r43324
2001-06-09configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva3-34/+43
autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * aclocal.m4, configure: Rebuilt. From-SVN: r43107
2001-06-09configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva4-10/+28
autoconf 2.50. * configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * configure: Rebuilt. From-SVN: r43103
2001-06-08For PR bootstrap/3075:Tom Tromey7-199/+225
* configure, aclocal.m4, Makefile.in: Rebuilt. * configure.in: Don't call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and AC_CANONICAL_SYSTEM here. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not boehm_gc_basedir. From-SVN: r43033
2001-05-24Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.Bryce McKinlay4-17/+31
* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built. (libgcjgc_la_SOURCES): Remove typo. * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case. * Makefile.in: Rebuilt. From-SVN: r42524
2001-05-21Imported version version 6.0alpha7.Bryce McKinlay96-14763/+5688
* README, README.Mac, README.OS2, README.QUICK, README.alpha, README.amiga, README.debugging, README.dj, README.hp, README.linux, README.rs6000, README.sgi, README.solaris2, README.uts, README.win32, SCoptions.amiga, backptr.h, barrett_diagram, dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h, gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h, hpux_irix_threads.c, makefile.depend, nursery.c, solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README, cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h, cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h, include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved files. From-SVN: r42379
2001-05-21This commit was generated by cvs2svn to compensate for changes in r42373,Bryce McKinlay11-1130/+1852
which included commits to RCS files with non-trunk default branches. From-SVN: r42374
2001-05-21Initial revisionBryce McKinlay41-0/+7939
From-SVN: r42370
2001-05-20configure.host: Build with -fexceptions.Hans Boehm3-1/+14
* configure.host: Build with -fexceptions. * linux_threads.c: Remember which thread stopped world for From-SVN: r42362
2001-05-20ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.Alexandre Oliva1-75/+90
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4. From-SVN: r42351
2001-05-04configure.in: Add support for --enable-threads=posix on FreeBSD.Loren J. Rittle3-87/+97
* configure.in: Add support for --enable-threads=posix on FreeBSD. * configure: Rebuilt. From-SVN: r41845
2001-05-01gc_priv.h (UNLOCK): Change type of GC_noop1 argument.Jeffrey Oldham2-3/+8
2001-05-01 Jeffrey Oldham <oldham@codesourcery.com> * gc_priv.h (UNLOCK): Change type of GC_noop1 argument. (GC_noop1): Change declaration to take one argument. From-SVN: r41738
2001-04-26configure.in: Obtain THREADS with `gcc -v'.Alexandre Oliva3-216/+169
* configure.in: Obtain THREADS with `gcc -v'. * configure: Rebuilt. From-SVN: r41571
2001-04-06misc.c: Back out buggy changes to stack clearing code.Hans Boehm2-16/+13
* misc.c: Back out buggy changes to stack clearing code. Reduce CLEAR_SIZE to 1/4 of original value to reduce time spent clearing memory. From-SVN: r41172
2001-04-05finalize.c: - Accomodate finalization requests for static objects.Hans Boehm10-28/+133
2001-04-04 Hans Boehm <hans_boehm@hp.com> * finalize.c: - Accomodate finalization requests for static objects. (Will be required by hash synchronization. May be needed in some configurations now.) * gc_priv.h: - Define MIN_WORDS. All allocation requests are rounded up to at least this size. Removes a subtle assumption that Java objects have a 2 word header. * gcconfig.h: - Adjust Linux/IA64 configuration for non-ancient kernels. (Necessary fix for IA64.) * linux_threads.c: - Fix syntax error in currently unused code. Will be needed for Linux/PA-RISC. * malloc.c: - Handle MIN_WORDS. * misc.c: - Handle MIN_WORDS. - Change stack cleaning code to typically clear about one tenth the memory it used to in the threads configuration. Occasionally still clear more. (This is really a fix for a long-standing and fairly significant performance bug with threads.) * os_dep.c: - Fix the code for finding the beginning of the data segment under Linux. I believe this is necessary for some IA64 Linux distributions. It will also helo other platforms, though those may additionally require a gcconfig.h adjustment. (This basically works around the absence of a data_start or __data_start definition in glibc.) * test.c: - Handle rounding due to MIN_WORDS. From-SVN: r41102
2001-03-22* Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.Tom Tromey3-2/+6
From-SVN: r40756
2001-03-21gcconfig.h: Check for `__arm__', not `arm'.Rod Stewart1-2/+2
2001-01-23 Rod Stewart <stewart@lab43.org> * gcconfig.h: Check for `__arm__', not `arm'. From-SVN: r40698
2001-03-21Makefile.in: Rebuilt.Tom Tromey3-3/+7
* Makefile.in: Rebuilt. * Makefile.am (gctest_LDFLAGS): new macro. From-SVN: r40697
2001-03-17Makefile.in: Rebuilt.Tom Tromey3-4/+18
* Makefile.in: Rebuilt. * Makefile.am (TESTS_ENVIRONMENT): New macro. From-SVN: r40568
2000-12-30For boehm-gc:Bryce McKinlay6-22/+89
* configure.in: Rename THREADLIB to THREADLIBS. * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This ensures that we link the correct version of the linuxthreads semaphore functions. * Makefile.in: Rebuilt. * configure: Rebuilt. * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the list of signals which are not blocked during suspend in the NO_SIGNALS case. For libjava: * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that the correct versions of various linuxthreads functions get linked. * Makefile.in: Rebuilt. * java/lang/natThread.cc (finalize_native): New static function. Call _Jv_ThreadDestroyData. (initialize_native): Register finalizer for "data". * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype. (_Jv_ThreadDestroyData): New prototype. * include/win32-threads.h: Ditto. * include/no-threads.h: Ditto. * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): New function. Free native thread "data" and move mutex and condition variable destroy code from: (really_start): ...here. (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED. * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): Implemented. * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t". (_Jv_AllocArray): Ditto. From-SVN: r38557
2000-12-23gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.Hans Boehm2-1/+4
2000-12-23 Hans Boehm <Hans_Boehm@hp.com> * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice. From-SVN: r38476
2000-12-15* Makefile.dist: Renamed from Makefile.orig.Bryce McKinlay2-0/+4
From-SVN: r38276
2000-12-12Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.Alexandre Petit-Bianco5-57/+66
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com> * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS. * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and set accordingly. * Makefile.in: Rebuilt. * configure: Likewise. (http://sources.redhat.com/ml/java-patches/2000-q4/msg00237.html) From-SVN: r38208
2000-12-10gcconfig.h: Add new case for powerpc EABI.Geoffrey Keating2-0/+20
* gcconfig.h: Add new case for powerpc EABI. [PPC]: Handle embedded OS for powerpc simulator. From-SVN: r38179
2000-09-30configure.in: Define GC_GCJ_SUPPORT.Bryce McKinlay5-19/+40
2000-09-30 Bryce McKinlay <bryce@albatross.co.nz> * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in cross-compile configuration only. * Makefile.am: Build gcj_mlc.c. * configure, Makefile.in: Rebuilt. From-SVN: r36678
2000-09-30ltconfig, [...]: Updated from libtool multi-language branch, to work around ↵Alexandre Oliva1-34/+35
Solaris' /bin/sh bug. * ltconfig, ltmain.sh, libtool.m4: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt all affected `configure' scripts. From-SVN: r36673
2000-09-10acinclude.m4: Include libtool macros from the top level.Alexandre Oliva4-527/+652
* acinclude.m4: Include libtool macros from the top level. * aclocal.m4, configure: Rebuilt. From-SVN: r36287
2000-09-04re GNATS libgcj/230 (Function GC_debug_object_start does not exist)Anthony Green3-7/+7
Fix for PR libgcj/230: * mark.c (GC_mark_from_mark_stack): Remove call to GC_debug_object_start. * gc_priv.h (GC_debug_object_start): Remove prototype. From-SVN: r36145
2000-08-16* gcconfig.h [OSF1] (_end): Declare as `int'.Alexandre Oliva2-1/+5
From-SVN: r35749
2000-08-02gc_priv.h (GC_generic_malloc_inner): Prototype.Tom Tromey3-11/+25
* gc_priv.h (GC_generic_malloc_inner): Prototype. (GC_generic_malloc): Likewise. (GC_add_to_black_list_normal): Likewise. (GC_find_header): Likewise. (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word. * gc_mark.h (GC_find_start): Prototype. (GC_signal_mark_stack_overflow): Likewise. From-SVN: r35431
2000-07-24configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.Alexandre Oliva3-0/+11
* configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*. * configure: Rebuilt. From-SVN: r35218
2000-07-24* dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.Alexandre Oliva2-0/+6
From-SVN: r35217
2000-06-20Imported version 5.1.Bryce McKinlay8-24/+55
2000-06-20 Bryce McKinlay <bryce@albatross.co.nz> Imported version 5.1. * acinclude.m4: Push version to 5.1. From-SVN: r34610
2000-06-20This commit was generated by cvs2svn to compensate for changes in r34605,Bryce McKinlay2-6/+42
which included commits to RCS files with non-trunk default branches. From-SVN: r34606
2000-06-19os_dep.c (read): Pass two dummy args to syscall().Andrew Haley2-1/+8
2000-06-19 Andrew Haley <aph@cygnus.com> * os_dep.c (read): Pass two dummy args to syscall(). From-SVN: r34598