Skip to content
Snippets Groups Projects
  1. Sep 14, 2006
    • tromey's avatar
      libjava · 20950438
      tromey authored
      	PR boehm-gc/29068:
      	* boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
      	(_Jv_GCDetachThread): Likewise.
      boehm-gc
      	PR boehm-gc/29068.
      	* misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
      	Solaris.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116948 138bc75d-0d04-0410-961f-82ee72b054a4
      20950438
  2. Aug 21, 2006
    • tromey's avatar
      boehm-gc · 33b8ea2a
      tromey authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116313 138bc75d-0d04-0410-961f-82ee72b054a4
      33b8ea2a
  3. Jan 25, 2006
  4. Aug 21, 2004
  5. Aug 13, 2004
    • bryce's avatar
      libjava: · e08a5204
      bryce authored
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
      	boehm-gc's include dirs.
      	* configure: Rebuilt.
      	* include/boehm-gc.h: Include gc_config.h.
      
      boehm-gc:
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* configure.ac (gc_cflags): Add -Iinclude.
      	(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
      	Don't write DEFS to boehm-cflags file.
      	* configure: Rebuilt.
      	* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
      	* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
      	* include/gc_config_macros.h: Remove backward-compatibility
      	redefinitions of GC_ names.
      	* include/gc.h: Include <gc_config.h>.
      
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	Import Boehm GC version 6.3.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85972 138bc75d-0d04-0410-961f-82ee72b054a4
      e08a5204
  6. Oct 03, 2003
  7. Jul 28, 2003
    • jsturm's avatar
      Import GC 6.3alpha1. · 34128101
      jsturm authored
      	* BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
      	* ChangeLog: Likewise.
      	* Makefile.am: Likewise.
      	* Makefile.direct: Likewise.
      	* Makefile.dj: Likewise.
      	* allchblk.c: Likewise.
      	* alloc.c: Likewise.
      	* backgraph.c: Likewise.
      	* configure.host: Likewise.
      	* configure.in: Likewise.
      	* dbg_mlc.c: Likewise.
      	* dyn_load.c: Likewise.
      	* finalize.c: Likewise.
      	* gc_cpp.cc: Likewise.
      	* gc_dlopen.c: Likewise.
      	* gcj_mlc.c: Likewise.
      	* if_mach.c: Likewise.
      	* mach_dep.c: Likewise.
      	* malloc.c: Likewise.
      	* mallocx.c: Likewise.
      	* mark.c: Likewise.
      	* mark_rts.c: Likewise.
      	* misc.c: Likewise.
      	* os_dep.c: Likewise.
      	* ptr_chck.c: Likewise.
      	* reclaim.c: Likewise.
      	* solaris_pthreads.c: Likewise.
      	* solaris_threads.c: Likewise.
      	* sparc_mach_dep.S: Likewise.
      	* threadlibs.c: Likewise.
      	* typd_mlc.c: Likewise.
      	* version.h: Likewise.
      	* win32_threads.c: Likewise.
      	* Mac_files/MacOS_Test_config.h: Likewise.
      	* Mac_files/MacOS_config.h: Likewise.
      	* cord/cordbscs.c: Likewise.
      	* cord/cordprnt.c: Likewise.
      	* cord/de_win.c: Likewise.
      	* doc/README: Likewise.
      	* doc/README.MacOSX: Likewise.
      	* doc/README.changes: Likewise.
      	* doc/README.environment: Likewise.
      	* doc/README.ews4800: Likewise.
      	* doc/README.linux: Likewise.
      	* doc/README.macros: Likewise.
      	* doc/README.win32: Likewise.
      	* doc/debugging.html: Likewise.
      	* doc/gcdescr.html: Likewise.
      	* doc/tree.html: Likewise.
      	* include/Makefile.in: Likewise.
      	* include/gc.h: Likewise.
      	* include/gc_cpp.h: Likewise.
      	* include/gc_local_alloc.h: Likewise.
      	* include/gc_mark.h: Likewise.
      	* include/gc_pthread_redirects.h: Likewise.
      	* include/gc_typed.h: Likewise.
      	* include/new_gc_alloc.h: Likewise.
      	* include/private/dbg_mlc.h: Likewise.
      	* include/private/gc_hdrs.h: Likewise.
      	* include/private/gc_locks.h: Likewise.
      	* include/private/gc_pmark.h: Likewise.
      	* include/private/gc_priv.h: Likewise.
      	* include/private/gcconfig.h: Likewise.
      	* include/private/solaris_threads.h: Likewise.
      	* include/private/specific.h: Likewise.
      	* tests/test.c: Likewise.
      	* tests/test_cpp.cc: Likewise.
      
      	* configure: Rebuild.
      	* Makefile.in: Rebuild.
      
      	* mips_sgi_mach_dep.s: Add.
      
      	* alpha_mach_dep.s: Remove.
      	* irix_threads.c: Remove.
      	* linux_threads.c: Remove.
      	* mips_sgi_mach_dep.S: Remove.
      	* missing: Remove.
      	* powerpc_macosx_mach_dep.s: Remove.
      	* doc/Makefile.am: Remove.
      	* doc/Makefile.in: Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69880 138bc75d-0d04-0410-961f-82ee72b054a4
      34128101
  8. Mar 04, 2003
    • hboehm's avatar
      2003-03-04 Hans Boehm <Hans.Boehm@hp.com> · 83e80d47
      hboehm authored
      	* include/private/gcconfig.h (GC_data_start): declare when needed.
      	* include/private/gc_priv.h: Include gcconfig.h after ptr_t
      	declaration.
      	* dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
      	GC_register_dynlib_callback): Register main data for static
      	executable if dl_iterate_phdr() didn't.
      	* misc.c (GC_init_inner): Call GC_init_linux_data_start() even
      	if we don't expect to register main static data.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63809 138bc75d-0d04-0410-961f-82ee72b054a4
      83e80d47
  9. Mar 03, 2003
    • hboehm's avatar
      2003-03-03 Hans Boehm <Hans.Boehm@hp.com> · 0c67eea3
      hboehm authored
      	* mark_rts.c (GC_cond_register_dynamic_libraries): add.
      	(GC_push_roots): explicitly mark free list headers, register
      	dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
      	* alloc.c (GC_stopped_mark): Conditionally call
      	GC_cond_register_dynamic_libraries().
      	(GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
      	* dyn_load.c (GC_register_main_static_data): define.
      	(GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
      	no longer skip main data.
      	* misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
      	(GC_init_inner): Make main data registration conditional.
      	* include/private/gc_priv.h (GC_register_main_static_data): declare.
      	* include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
      	for LINUX.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63727 138bc75d-0d04-0410-961f-82ee72b054a4
      0c67eea3
  10. Apr 09, 2002
    • hboehm's avatar
      * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. · fea37d3e
      hboehm authored
      	(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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52053 138bc75d-0d04-0410-961f-82ee72b054a4
      fea37d3e
  11. Mar 15, 2002
  12. Mar 12, 2002
    • megacz's avatar
      2002-03-12 Adam Megacz <adam@xwt.org> · 2da4cb5f
      megacz authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50671 138bc75d-0d04-0410-961f-82ee72b054a4
      2da4cb5f
  13. Feb 12, 2002
  14. Feb 09, 2002
  15. Feb 07, 2002
    • megacz's avatar
      2002-02-06 Adam Megacz <adam@xwt.org> · ef8fa395
      megacz authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49563 138bc75d-0d04-0410-961f-82ee72b054a4
      ef8fa395
  16. Oct 16, 2001
  17. Aug 18, 2001
  18. May 21, 2001
    • bryce's avatar
      Imported version version 6.0alpha7. · f8c1da57
      bryce authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42379 138bc75d-0d04-0410-961f-82ee72b054a4
      f8c1da57
  19. Apr 07, 2001
    • bothner's avatar
      · 0acad087
      bothner authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41172 138bc75d-0d04-0410-961f-82ee72b054a4
      0acad087
  20. Apr 05, 2001
    • tromey's avatar
      2001-04-04 Hans Boehm <hans_boehm@hp.com> · d00b9cd2
      tromey authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41102 138bc75d-0d04-0410-961f-82ee72b054a4
      d00b9cd2
  21. Apr 19, 2000
  22. Apr 02, 2000
  23. Dec 20, 1999
  24. Dec 12, 1999
  25. Nov 04, 1999
  26. Nov 01, 1999
  27. Jun 21, 1999
  28. Apr 26, 1999
  29. Apr 07, 1999
Loading