summaryrefslogtreecommitdiff
path: root/boehm-gc
Commit message (Collapse)AuthorAgeFilesLines
* * pthread_stop_world.c (GC_suspend_handler): Redirect to suspensionkseitz2006-06-214-6/+82
| | | | | | | | | | | | | | routine if signal is received and thread is flagged SUSPENDED. (suspend_self): New function. (GC_suspend_thread): New function. (GC_resume_thread): New function. * include/gc.h (GC_suspend_thread): Declare. (GC_resumet_thread): Declare. * include/private/pthread_support.h (SUSPENDED): New GC_thread flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114869 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.rmathew2006-06-203-2/+21
| | | | | | | | | | * os_dep.c (GC_wnt): Define. (GC_init_win32): Set GC_wnt. * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE sections also on Windows 9x/ME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114818 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: gcc/ChangeLoggeoffk2006-06-035-98/+866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-02 Geoffrey Keating <geoffk@apple.com> * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with HAVE_DECL_SIGALTSTACK. (MC_FLD): New. (segv_handler): Use MC_FLD. * configure.ac: Check for a sigaltstack declaration. Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin. * configure: Regenerate. * config.in: Regenerate. Index: boehm-gc/ChangeLog 2006-06-02 Geoffrey Keating <geoffk@apple.com> * configure.ac: Define HAS_PPC_THREAD_STATE_R0, HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0, HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX, HAS_I386_THREAD_STATE___EAX. * configure: Regenerate. * include/gc_config.h.in: Regenerate. * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin macro names to determine value. (THREAD_STATE): New. (THREAD_FLD): New. (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114339 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>carlos2006-05-245-324/+158
| | | | | | | | | | | * Makefile.am: Add install-html target. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-07 Andrew Haley <aph@redhat.com>aph2006-04-243-1/+31
| | | | | | | | | * dyn_load.c (GC_has_static_roots): Declare. (GC_register_dynlib_callback): Call GC_has_static_roots. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113223 138bc75d-0d04-0410-961f-82ee72b054a4
* * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,bryce2006-04-112-0/+9
| | | | | | | | GC_start_world): Call vm_deallocate to free act_list. Fix from Bruce Mitchener. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112867 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-03-243-5/+27
| | | | | | | | | | | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*. Warn about POSIX threads not being supported for *-*-hpux10*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112355 138bc75d-0d04-0410-961f-82ee72b054a4
* * pthread_support.c: Conditionally include dlfcn.h.tromey2006-02-102-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-06 Jakub Jelinek <jakub@redhat.com>tromey2006-02-077-2/+97
| | | | | | | | | | | | | | | | | | Anthony Green <green@redhat.com> Tom Tromey <tromey@redhat.com> * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION. * include/gc_config.h.in: Rebuilt. * include/gc_pthread_redirects.h (pthread_create): Conditionally define. * pthread_support.c (pthread_create_): New global. (constr): New function. (pthread_create): Conditionally renamed. * configure: Rebuilt. * configure.ac (GC_PTHREAD_SYM_VERSION): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110682 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don'tamodra2006-02-042-1/+6
| | | | | | | | use broken 64-bit version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110571 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-01-252-1/+4
| | | | | | | | * darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110224 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>bryce2006-01-253-8/+23
| | | | | | | | * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110223 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gcconfig.h: Revert to GC 6.6 version, removingbryce2006-01-252-12/+17
| | | | | | | all local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110222 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove svn:executable property.bryce2006-01-251-0/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110205 138bc75d-0d04-0410-961f-82ee72b054a4
* Import Boehm GC version 6.6.bryce2006-01-2548-1098/+847
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110204 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-24 David Ayers <d.ayers@inode.at>ayers2006-01-242-2/+7
| | | | | | | | | PR libobjc/13946 * include/gc.h: Fix prototype declarations for bootstrap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110183 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-01 Bryce McKinlay <mckinlay@redhat.com>bryce2005-11-022-11/+7
| | | | | | | * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106362 138bc75d-0d04-0410-961f-82ee72b054a4
* .cvsignore are not needed for subversion, remove them.aj2005-10-311-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106279 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gc_locks.h (GC_test_and_set): Change thekazu2005-09-152-1/+6
| | | | | | | constraint of the first operand to '0'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104329 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/23662:tromey2005-09-062-1/+7
| | | | | | | | * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of HEURISTIC1 on ARM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103946 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.kkojima2005-07-172-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102110 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-15 Andreas Tobler <a.tobler@schweiz.ch>andreast2005-06-153-2/+28
| | | | | | | | | * os_dep.c: Add FreeBSD/PowerPC bits. (GC_SysVGetDataStart): Likewise. * include/private/gcconfig.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-25 Andrew Haley <aph@redhat.com>jakub2005-05-252-0/+6
| | | | | | | | * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100145 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-05-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99498 138bc75d-0d04-0410-961f-82ee72b054a4
* * os_dep.c, include/private/gc_locks.h: Import CRIS port byhp2005-04-194-2/+57
| | | | | | | | Simon Posnjak from gc6.4. * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98414 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-17 David S. Miller <davem@davemloft.net>davem2005-04-173-3/+17
| | | | | | | | | | * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM. * os_dep.c (GC_linux_stack_base): Check for bug present in some Sparc glibc variants where __libc_stack_end is erroneously set to "1". Fallback to procfs code in that case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98303 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-04-132-1/+66
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98065 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.rth2005-04-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98032 138bc75d-0d04-0410-961f-82ee72b054a4
* * darwin_stop_world.c: Update for -m64 multilib.mrs2005-03-244-13/+37
| | | | | | | | * include/private/gcconfig.h: Likewise. * powerpc_darwin_mach_dep.s: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96968 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>kcook2005-03-013-11/+27
| | | | | | | * Makefile.in, include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95762 138bc75d-0d04-0410-961f-82ee72b054a4
* * dyn_load.c: On NetBSD, include machine/elf_machdep.h and definerearnsha2005-02-262-0/+10
| | | | | | | ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>bryce2005-02-166-0/+36
| | | | | | | | | | | PR libgcj/19823 * configure.host: Set gc_use_mmap on *-linux*. * configure.ac: Define USE_MMAP if gc_use_mmap is set. * include/private/gc_priv.h: Include gc_config.h. * configure, include/gc_config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95094 138bc75d-0d04-0410-961f-82ee72b054a4
* * allchblk.c (GC_allochblk_nth): Dont overlook available space ifhboehm2005-02-096-61/+125
| | | | | | | | | | | | | | | | GC disabled, correctly convert GC_finalizer_mem_freed to byte, total_size to words. * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only MEM_IMAGE regions. * mach_dep.c (GC_with_callee_saves_pushed): separate into new function, and indent appropriately. * mark_rts.c (GC_approx_sp): Access stack. * pthread_stop_world.c: (GC_suspend_handler): Explicitly push callee-saves registers when appropriate. (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>bryce2005-01-025-2/+37
| | | | | | | | | | | | | | * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h. 2005-01-01 Bryce McKinlay <mckinlay@redhat.com> * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h and include/gc_ext_config.h. * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC. * include/gc.h: Undef PACKAGE_* before including gc_config.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>kcook2004-12-132-9/+6
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92087 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>bryce2004-11-306-162/+166
| | | | | | | | PR libgcj/18699 Revert patches of 2004-11-26 and 2004-11-27. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91505 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-292-9/+6
| | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. * libjava/configure, libffi/configure, libjava/configure, libobjc/configure, boehm-gc/configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91495 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>bryce2004-11-272-2/+10
| | | | | | | * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91387 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>bryce2004-11-266-152/+167
| | | | | | | | | | | | | | Fix "PACKAGE_NAME redefined" errors. * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h and include/gc_config.h. * configure: Regenerated. * include/gc_config.h.in: No longer auto-generated. Define only the macros needed by libjava. * include/config.h.in: Generated by autoheader. * include/gc.h: Include config.h, not gc_config.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91330 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-252-2/+13
| | | | | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91293 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-242-9/+6
| | | | | | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91200 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (machdep): Use sparc_mach_dep.lo onebotcazou2004-11-223-5/+12
| | | | | | | | | sparc64-sun-solaris2.* too. (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91047 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/18444ebotcazou2004-11-223-3/+8
| | | | | | | | * configure.ac (threading): Accept 'posix95'. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91042 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-058-50/+24
| | | | | | | | | | | | * Makefile.am: Define ACLOCAL_AMFLAGS. * configure.ac: Remove redundant sinclude. * acinclude.m4: Delete file. * aclocal.m4: Regenerate. * Makefile.in, include/Makefile.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90103 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):uweigand2004-10-192-0/+9
| | | | | | | Add prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89283 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for M32Rnickc2004-10-132-0/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88976 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>kcook2004-09-274-101/+273
| | | | | | | | | * configure.ac: Update all AC_DEFINEs to newer style. * configure: Regenerate. * include/gc_config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88206 138bc75d-0d04-0410-961f-82ee72b054a4
* * backgraph.c, gc_priv.h (GC_traverse_back_graph,hboehm2004-08-287-40/+77
| | | | | | | | | | | | | | GC_print_back_graph_stats): split GC_traverse_back_graph. * backgraph.c: Dynamically grow in_progress_space. * finalize.c (GC_notify_or_invoke_finalizers): also call GC_print_back_graph_stats. * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc, GC_print_back_height): Move delarations to header file. * configure.ac: rename --enable-full-debug to --enable-gc-debug. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86685 138bc75d-0d04-0410-961f-82ee72b054a4
* * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.hboehm2004-08-234-1/+11
| | | | | | | * backgraph.c, include/private/gc_pmark.h: Always include gc.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86442 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>bryce2004-08-232-2/+8
| | | | | | | | * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include. Reported by Danny Smith. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86427 138bc75d-0d04-0410-961f-82ee72b054a4