1. 26 Sep, 2006 1 commit
  2. 21 Sep, 2006 1 commit
  3. 18 Sep, 2006 1 commit
  4. 14 Sep, 2006 1 commit
  5. 21 Aug, 2006 1 commit
    • re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) · 7ddf92a8
      boehm-gc
      	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.
      
      From-SVN: r116313
      Bryce McKinlay committed
  6. 21 Jun, 2006 1 commit
    • pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if… · 7691d0d3
      pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged...
      
              * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
              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.
      
      From-SVN: r114869
      Keith Seitz committed
  7. 20 Jun, 2006 1 commit
  8. 03 Jun, 2006 1 commit
    • Index: gcc/ChangeLog · 4f6d8cc8
      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.
      
      From-SVN: r114339
      Geoffrey Keating committed
  9. 24 May, 2006 1 commit
  10. 24 Apr, 2006 1 commit
  11. 11 Apr, 2006 1 commit
  12. 24 Mar, 2006 1 commit
  13. 10 Feb, 2006 1 commit
  14. 07 Feb, 2006 1 commit
    • gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION. · 5fd231d2
      2006-02-06  Jakub Jelinek  <jakub@redhat.com>
      	    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.
      
      Co-Authored-By: Anthony Green <green@redhat.com>
      Co-Authored-By: Tom Tromey <tromey@redhat.com>
      
      From-SVN: r110682
      Jakub Jelinek committed
  15. 04 Feb, 2006 1 commit
  16. 25 Jan, 2006 5 commits
  17. 24 Jan, 2006 1 commit
  18. 02 Nov, 2005 1 commit
  19. 31 Oct, 2005 1 commit
  20. 15 Sep, 2005 1 commit
  21. 06 Sep, 2005 1 commit
  22. 17 Jul, 2005 1 commit
  23. 15 Jun, 2005 1 commit
  24. 25 May, 2005 1 commit
  25. 10 May, 2005 1 commit
  26. 19 Apr, 2005 1 commit
  27. 17 Apr, 2005 1 commit
    • gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM. · 22d97ada
      2005-04-17  David S. Miller  <davem@davemloft.net>
      
      	* 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.
      
      From-SVN: r98303
      David S. Miller committed
  28. 13 Apr, 2005 1 commit
  29. 12 Apr, 2005 1 commit
  30. 24 Mar, 2005 1 commit
  31. 01 Mar, 2005 1 commit
  32. 26 Feb, 2005 1 commit
  33. 16 Feb, 2005 1 commit
  34. 09 Feb, 2005 1 commit
    • allchblk.c (GC_allochblk_nth): Dont overlook available space if GC disabled... · 328d1d4c
      	* allchblk.c (GC_allochblk_nth): Dont overlook available space if
      	  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).
      
      From-SVN: r94776
      Hans Boehm committed
  35. 02 Jan, 2005 1 commit
    • boehm-gc.h: Include gc_ext_config.h, not gc_config.h. · 9a060b37
      2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* 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.
      
      From-SVN: r92801
      Bryce McKinlay committed
  36. 13 Dec, 2004 1 commit