Skip to content

7.2

Compare
Choose a tag to compare
@ivmai ivmai released this 16 May 19:11
· 5061 commits to master since this release

Changes

  • Abort in GC_thr_init on pthread_atfork failure (POSIX threads)
  • Add GC_WIN32_PTHREADS target in configure
  • Add GC_is_disabled new function to GC API
  • Add info that getcontext() resets FPE mask no longer on Linux/x86_64
  • Add public GC_set_handle_fork to control forked child handling support
  • Add realloc_test.c test
  • Add support for Hexagon target
  • Add thread-safe GC_get_heap_usage_safe to GC API
  • Change GC_check_fl_marks prototype and implementation
  • Check pthread_create/join result in test
  • Define GC_DLL (in configure) if building only dynamic libraries
  • Define NO_DEBUGGING (in configure) if "--disable-gc-debug" is set
  • Disable incremental mode on Darwin if fork handling requested
  • Enable parallel marker in configure for Solaris
  • Fix "comparison of signed and unsigned values" compiler warnings
  • Fix 'volatile' keyword placement in GC_SysVGetDataStart
  • Fix ALIGNMENT, CPP_WORDSZ, GC_GRANULE_BYTES/WORDS for x32 target
  • Fix GC_READ_ENV_FILE code for Cygwin
  • Fix GC_add_roots_inner for Mac OS X (align segment start)
  • Fix GC_check_fl_marks regarding concurrent access
  • Fix GC_finalizer_nested size to workaround alignment problem in Watcom
  • Fix GC_find_limit_with_bound to always reset fault handler on return
  • Fix GC_init static assertion for clang/x64 (Darwin)
  • Fix GC_init[_lib_bounds] and GC_get_main_stack_base for malloc redirection
  • Fix GC_push_all/selected boundaries check
  • Fix GC_register_my_thread marking thread as detached (Cygwin/pthreads-w32)
  • Fix GC_remove_all_threads_but_me to cleanup thread-specific data storage
  • Fix GC_restart_handler to preserve errno if needed
  • Fix GC_root_size update in GC_add_roots_inner (Win32)
  • Fix GC_unregister_my_thread to ensure no ongoing incremental GC (Win32)
  • Fix GC_with_callee_saves_pushed for clang (disable __builtin_unwind_init)
  • Fix calloc, GC_generic_malloc to check for allocation size overflows
  • Fix compiler warning in GC_dyld_image_add/remove (Darwin)
  • Fix configure --enable-cplusplus make install
  • Fix configure to disable GCC aliasing optimization unless forced to
  • Fix duplicate definitions in gcconfig.h for NetBSD
  • Fix fork() support on Cygwin and Darwin targets
  • Fix gc.h compatibility regression regarding GC_PTR, GC_I_HIDE_POINTERS
  • Fix gc_cpp.cc for Cygwin (remove duplicate function definition)
  • Fix gcconfig.h to define USE_GET_STACKBASE_FOR_MAIN for Android
  • Fix gcconfig.h to handle mips64-linux target
  • Fix gctest (for Win32) to avoid GC_print_stats internal variable usage
  • Fix mach_dep.c to include sys/ucontext.h on Mac OS X 10.6
  • Fix tests to check GC_malloc result for NULL (out-of-memory)
  • Fix thread model in configure for MinGW ("win32" instead of "posix")
  • Fix various warnings reported by LINT-like tools
  • Fix visibility of some GC internal symbols used by GNU GCJ currently
  • Port some thread tests to Win32
  • Refine API GC setters and getter comments regarding locking
  • Refine GC_stackbottom description in gc.h
  • Remove duplicate calls in GC_register_dynamic_libraries
  • Remove locking in API GC_get_bytes_since_gc and friends
  • Remove newly-added GC_get_heap_size/free_bytes_inner from API
  • Remove some local variables that are unused
  • Support multi-threading for RTEMS target
  • Use global GC_noop_sink variable in GC_noop1 to suppress compiler warning
  • Use pkg-config to pick up libatomic_ops, etc
  • Workaround some Linux/arm kernels bug to get correct GC_nprocs value

Distribution Tarball

gc-7.2.tar.gz