aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
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
2000-05-10Imported 5.0 release version.Bryce McKinlay8-13/+50
2000-05-11 Bryce McKinlay <bryce@albatross.co.nz> Imported 5.0 release version. * acinclude.m4: Increment version to 5.0. From-SVN: r33832
2000-05-07Imported version 5.0alpha7.Bryce McKinlay13-48/+112
2000-05-07 Bryce McKinlay <bryce@albatross.co.nz> Imported version 5.0alpha7. * acinclude.m4: Update version to 5.0a7. From-SVN: r33750
2000-05-07This commit was generated by cvs2svn to compensate for changes in r33746,Bryce McKinlay4-8/+21
which included commits to RCS files with non-trunk default branches. From-SVN: r33747
2000-04-27Fixed ChangeLog merge snafuTom Tromey1-1/+0
From-SVN: r33453
2000-04-27<<<<<<< ChangeLogJakub Jelinek9-102/+206
2000-04-26 Jakub Jelinek <jakub@redhat.com> * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC. (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START - sparc glibc does not provide it. (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*. Make STACKBOTTOM depend on the wordsize. * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*. (struct frame): Declare on sparc*-linux*. (GC_save_callers): Bias the frame pointers if needed (sparc64). * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32. Implement on sparc64. (GC_clear_stack_inner): Implement on sparc64. * gc_priv.h (GC_test_and_set): Implement for sparc. * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use From-SVN: r33452
2000-04-24* gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.Tom Tromey2-0/+5
From-SVN: r33367
2000-04-19Makefile.am, [...]: irix_threads.c is now hpux_irix_threads.c.Bryce McKinlay4-73/+145
* Makefile.am, Makefile.in: irix_threads.c is now hpux_irix_threads.c. * Makefile.orig: Updated from gc distribution Makefile. From-SVN: r33255
2000-04-19Imported version version 5.0alpha6.Bryce McKinlay44-2161/+1480
* acinclude.m4: Bump version to 5.0a6. * configure.in: Don't use alpha_mach_dep.s. * include/private/config.h, irix_threads.c gc_watcom.asm: Delete obsolete files. From-SVN: r33251
2000-04-19This commit was generated by cvs2svn to compensate for changes in r33244,Bryce McKinlay11-135/+484
which included commits to RCS files with non-trunk default branches. From-SVN: r33245
2000-04-19Initial revisionBryce McKinlay3-0/+488
From-SVN: r33241
2000-04-02misc.c (GC_enable): Always define GC_enable and GC_disable.Anthony Green2-2/+4
2000-03-26 Anthony Green <green@redhat.com> * misc.c (GC_enable): Always define GC_enable and GC_disable. From-SVN: r32867
2000-02-14gc.h (dlopen): Define as GC_dlopen on Linux.Tom Tromey3-6/+30
* gc.h (dlopen): Define as GC_dlopen on Linux. (GC_dlopen): Declare on Linux. * dyn_load.c (GC_dlopen): Define for Linux. From-SVN: r31970
2000-01-29gcconfig.h (DATASTART): Add missing extern declaration for data_start on ↵Anthony Green2-0/+6
powerpc. * gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc. From-SVN: r31677
1999-12-24linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case.Bryce McKinlay2-0/+25
1999-12-22 Bryce McKinlay <bryce@albatross.co.nz> * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case. From-SVN: r31083
1999-12-20Alpha Linux changes.Anthony Green2-0/+5
From-SVN: r31030
1999-12-20gcconfig.h: Use libgcj hack for Alpha Linux.Anthony Green4-12/+16
* gcconfig.h: Use libgcj hack for Alpha Linux. Undefine MPROTEXT_VDB (from Jeff Sturm). * os_dep.c: Remove Alpha Linux hacks. * misc.c: Ditto. From-SVN: r31028
1999-12-13aclocal.m4, configure: Rebuilt.Tom Tromey6-5/+12
* aclocal.m4, configure: Rebuilt. * acinclude.m4: Changed version to 5.0a4. * Makefile.in: Rebuilt. * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0. From-SVN: r30893
1999-12-12Oops. Date was wrong.Anthony Green1-1/+1
From-SVN: r30876
1999-12-12gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux.Anthony Green4-10/+14
* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux. (DYNAMIC_LOADING): Define for PowerPC Linux. * os_dep.c: Remove some special cases for PowerPC Linux. * misc.c (GC_init_inner): Don't call GC_init_linux_data_start for PowerPC Linux. From-SVN: r30873
1999-11-04Makefile.in: Rebuilt.Tom Tromey3-8/+9
* Makefile.in: Rebuilt. * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c. From-SVN: r30396
1999-11-04misc.c (GC_init_inner): Don't call GC_init_linuxppc().Tom Tromey2-8/+4
* misc.c (GC_init_inner): Don't call GC_init_linuxppc(). (GC_thr_init): Don't declare. From-SVN: r30395
1999-11-04configure: Rebuilt.Tom Tromey9-83/+15
* configure: Rebuilt. * configure.in: Removed qt threads case. * dyn_load.c: Don't mention QUICK_THREADS. * os_dep.c: Don't mention QUICK_THREADS. * misc.c: Don't mention QUICK_THREADS. * gcconfig.h: Don't mention QUICK_THREADS. * gc_priv.h: Removed QUICK_THREADS code. * quick_threads.c: Removed. From-SVN: r30394
1999-11-03* gcconfig.h: Merged in local changes from old config.h.Tom Tromey2-11/+35
From-SVN: r30376
1999-11-03gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.Bryce McKinlay2-1/+7
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz> * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386. From-SVN: r30364
1999-11-03* quick_threads.c: Include gcconfig.h, not boehm-config.h.Tom Tromey2-1/+3
From-SVN: r30360