./devel/boehm-gc, Garbage collection and memory leak detection for C and C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.6.2, Package name: boehm-gc-7.6.2, Maintainer: pkgsrc-users

The Boehm-Weiser garbage collection package, for C and C++ -
garbage collection and memory leak detection libraries.

A garbage collector is something which automatically frees malloc'd
memory for you by working out what parts of memory your program
no longer has pointers to. As a result, garbage collectors can also
inform you of memory leaks (if they find memory they can free, it means
you have lost all of your pointers to it, but you didn't free it).

This package has two libraries and some include files:
libgc.a - a garbage collection library, replaces malloc/free/new/delete/etc
with versions that do automatic garbage collection
libleak.a - a leak detection library, which is just libgc.a compiled with
different switches.

C programs may be linked against either of these, and should run (with
GC or leak detection) without change. C++ programs must include a header
to use garbage collection, though leak detection should work without
such source code modifications. See the man page and header files.

PS: garbage collection is addictive.


Required to run:
[devel/libatomic_ops]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 55fc1fe8e0d81acdf6cc29455b151ab74c77c4f2
RMD160: 4058142315c17c7ab758e5425ff89bab7ef25bde
Filesize: 1093.481 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-10 10:16:21 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
boehm-gc: update to 7.6.2.

== [7.6.2] 2017-12-23 ==

* Add assertion that no hb_n_marks underflow occurs
* Add minimal testing of GC_MALLOC_[ATOMIC_]WORDS and GC_CONS (gctest)
* Add minimal testing of GC_set_bit (gctest)
* Add more cases to huge_test to cover sizes close to word-type maximum
* Add testing of new[]/delete[] (test_cpp)
* Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used
* Adjust code indentation of calloc_explicitly_typed
* Align local_mark_stack in help_marker explicitly
* Allow custom TRACE_ENTRIES value
* Allow gctest and thread_leak_test with zero NTHREADS
* Avoid data race in finalized_count (gctest)
* Code refactoring of divide-by-HBLKSIZE occurrences
* Code refactoring of huge_test
* Code refactoring of tests/subthread_create regarding AO add primitive
* Compile thread_local_alloc only if multi-threaded build (Makefile.am)
* Delete preprocessor output on make clean (Makefile.direct)
* Disable implicit multi-threaded mode for Win32 to avoid LOCK crash
* Do not disable parallel mark for WRAP_MARK_SOME
* Do not enable mprotect-based incremental mode if unmapping is on (gctest)
* Do not install documentation if configure --disable-docs (new option)
* Do not use tkill (Android)
* Document base and size of objects allocated by finalized_malloc
* Document configure 'syntax error' issue in README
* Eliminate 'address of local variable returned' static analyzer warning
* Eliminate 'array vs singleton' code defect in typed_test (gctest)
* Eliminate 'assigned value never used' CSA warning in min_bytes_allocd
* Eliminate 'boolean result used in bitwise op' cppcheck false warning
* Eliminate 'C-style pointer casting' cppcheck style warnings in test
* Eliminate 'checking if unsigned variable is <0' cppcheck style warning
* Eliminate 'class member var with name also defined in parent' warning
* Eliminate 'comparison is always false' static analyzer warning in finalize
* Eliminate 'Condition 0==datastart always false' cppcheck warning (dyn_load)
* Eliminate 'condition is always true' cppcheck style warning
* Eliminate 'constructor with 1 argument is not explicit' cppcheck warning
* Eliminate 'CORD_*printf is never used' cppcheck style warnings (cordtest)
* Eliminate 'dereference of null' CSA false warning in array_mark_proc
* Eliminate 'function result not used' code defect in GC_mark_local
* Eliminate 'GC_collecting is set but never used' code defect (Win32)
* Eliminate 'GC_record_fault is never used' cppcheck style warning
* Eliminate 'integer shift by a negative amount' code defect in finalize
* Eliminate 'label not used' cppcheck false warnings in GC_mark_X
* Eliminate 'memory leak' code defect for scratch-allocated memory
* Eliminate 'memory leak' code defect in remove_specific
* Eliminate 'non-null arg compared to null' warning in toggleref_add (GCC)
* Eliminate 'non-reentrant function strtok called' cppcheck warning (POSIX)
* Eliminate 'possible integer underflow' code defect (cord-de)
* Eliminate 'potential overflow' static analyzer warning in test
* Eliminate 'printf format specifies type void*' GCC pedantic warnings
* Eliminate 'scope of variable can be reduced' cppcheck warnings
* Eliminate 'suspicious pointer subtraction' cppcheck warning (gc_cpp)
* Eliminate 'this statement may fall through' GCC warnings
* Eliminate 'unnecessary comparison of static strings' cppcheck warning
* Eliminate 'unsafe vsprintf is deprecated' compiler warning
* Eliminate 'unused formal parameter' compiler warnings in C++ code (MS VC)
* Eliminate 'unused variable' compiler warning in remove_all_threads_but_me
* Eliminate 'use of vulnerable sprintf' code defect in de_win test (cord)
* Eliminate 'value exceeds maximum object size' GCC warning in huge_test
* Eliminate 'value of CLOCK_TYPE unknown' cppcheck info message
* Eliminate 'value of DATASTART2 unknown' cppcheck info messages
* Eliminate 'value of GC_PTHREAD_EXIT_ATTRIBUTE unknown' cppcheck messages
* Eliminate 'value of GC_RETURN_ADDR_PARENT unknown' cppcheck info messages
* Eliminate 'value of NEED_FIXUP_POINTER unknown' cppcheck info messages
* Eliminate 'write to memory that was const-qualified' code analyzer warning
* Eliminate all 'scope of variable can be reduced' cppcheck style warnings
* Eliminate CSA warning about incorrect cast applied to HBLK_OBJS
* Eliminate CSA warning about narrowing cast in CleanUp of test_cpp
* Eliminate CSA warning of non-virtual destructor in test_cpp base class
* Eliminate CSA warning of staticroot that can be a local variable (tests)
* Eliminate CSA warning of unmodified non-const static var (disclaim_test)
* Eliminate redundant local variable in register_finalizer
* Eliminate TSan (Thread Sanitizer) warnings in gctest
* Eliminate UBSan warning of overflow during descr subtraction in mark_from
* Eliminate unreachable PROC/DEFAULT_VDB GC_printf calls in gctest main()
* Eliminate unsigned fl_builder_count underflow in mark_thread
* Enable GC_is_tmp_root for all platforms
* Execute more single-threaded GC tests by CMake
* Expand tabs to spaces in de_win.rc (tests)
* Export GC_dump_finalization/regions()
* Export GC_is_tmp_root() and GC_print_trace[_inner]()
* Export GC_print_free_list()
* Fix '32-bit value shift followed by expansion to 64-bit' code defect
* Fix 'GC_written_pages never read' code defect (GWW_VDB)
* Fix 'label cannot be reached' static analyzer warning in disclaim_test
* Fix 'size of tv is unknown' error in brief_async_signal_safe_sleep (musl)
* Fix 'syntax error' reported by cppcheck for mach_dep
* Fix 'unknown type name GC_INNER' compilation error (FreeBSD)
* Fix 'variable assigned a value that is never used' cppcheck style warnings
* Fix 'void pointers in calculations: behavior undefined' cppcheck warning
* Fix assertion violation about disabled cancel in try_to_collect_inner
* Fix atomic_ops build in Makefile.direct for Solaris
* Fix Clang static analyzer warning about not found gc_priv.h in extra files
* Fix compilation error in get_main_stack_base (Emscripten)
* Fix compilation for winpthreads if HANDLE_FORK
* Fix compilation if configured with --enable-werror on OS X
* Fix cord/de build in Makefile.direct (Linux)
* Fix data race in a list referenced by A.aa (gctest)
* Fix data race in collectable_count (gctest)
* Fix data race in do_local_mark when comparing active_count to helper_count
* Fix data race in GC_suspend/resume_thread
* Fix data race in last_stop_count access (suspend_handler_inner)
* Fix data race in make_descriptor when setting explicit_typing_initialized
* Fix data race in mark_thread when updating mark_no
* Fix data race when getting object size in explicitly-typed allocators
* Fix deadlock in GC_suspend_thread
* Fix gctest failure for Darwin if CPPCHECK is defined
* Fix lack of barriers to synchronize memory for suspend_handler
* Fix marking of disclaim-reachable objects in the incremental mode
* Fix message of VDB implementation used if MPROTECT_VDB+GWW_VDB (gctest)
* Fix missing started_thread_while_stopped call from mark_some if GCC/Clang
* Fix null dereference in GC_stack_range_for if not DARWIN_DONT_PARSE_STACK
* Fix page calculation in checksums
* Fix parallel build in Makefile.direct
* Fix test_cpp and c++ parallel build in Makefile.direct
* Fix typo in comment of GC_mark_some
* Fix typos in cdescr.html and README.sgi
* Make GC_INIT optional for clients even if thread-local allocations enabled
* Match uclinux pattern in configure
* Move conditional GC_need_to_lock setting to gc_locks.h (refactoring)
* Move README.QUICK from DOC_FILES to OTHER_FILES in Makefile.direct
* New API function (GC_is_init_called) to check if BDWGC is initialized
* New target (check-cpp) in Makefile.direct
* Prevent abort in register_data_segments for Symbian and Emscripten
* Prevent multiple 'Caught ACCESS_VIOLATION in marker' per collection
* Print realloc_count value in gctest
* Put invariant name in quotes to make mark_state comments clearer
* Refine configure messages when checking for compiler option support
* Remove extraneous semicolons after AC_MSG_WARN (configure)
* Remove page_was_dirty and remove_protection duplicate definitions
* Remove unnecessary type casts of printf arguments to unsigned long
* Remove unused ALIGN_DOUBLE, USE_GENERIC_PUSH_REGS macros (TILE-Gx/Pro)
* Rename 'test' to 'check' target in Makefile.direct
* Replace deprecated rewind to fseek in cordxtra
* Report gcc/clang pedantic warnings (configure)
* Skip thread suspend/resume API testing for Tru64 (OSF1)
* Support AddressSanitizer (Clang/GCC) and MemorySanitizer (Clang)
* Support GC_init (and get_stack_base) from non-main thread on FreeBSD/NetBSD
* Suppress 'tainted string passed to vulnerable operation' false defects
* Suppress 'taking address of label non-standard' GCC/Clang pedantic warning
* Test GC initialization from non-main thread on FreeBSD and NetBSD
* Test GCJ object creation with length-based descriptor (gctest)
* Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG
* Update README regarding make cords with Makefile.direct
* Update README to use autogen.sh on build from the source repository
* Update shared libraries version info to differentiate against v7.4
* Use mprotect instead of mmap in GC_unmap() on Cygwin
* Use same style of include gc.h in documentation
* Workaround '!GC_page_size is always false' cppcheck style warning
* Workaround '#error' cppcheck error messages
* Workaround '32-bit value shift by >31 bits is undefined' cppcheck warnings
* Workaround 'array compared to 0', 'untrusted loop bound' false defects
* Workaround 'bad address arithmetic' static analysis tool false positive
* Workaround 'checking if unsigned value is negative' cppcheck warning
* Workaround 'checking unsigned value is negative' code defect in mark_from
* Workaround 'comparison of identical expressions' false code defects
* Workaround 'Condition 0!=GETENV() is always false' cppcheck style warnings
* Workaround 'condition is always false' cppcheck warning in get_next_stack
* Workaround 'condition is always true' cppcheck style warnings in GC_init
* Workaround 'function is never used' cppcheck style warnings
* Workaround 'insecure libc pseudo-random number generator used' code defect
* Workaround 'int shift by negative amount' false code defect in finalize
* Workaround 'local variable size too big' static analyzer warning
* Workaround 'memory leak: result' cppcheck false error (POSIX)
* Workaround 'null pointer dereference' false positive in push_next_marked
* Workaround 'obsolescent bcopy, bzero called' cppcheck warnings (POSIX)
* Workaround 'obsolescent usleep called' cppcheck warning (POSIX)
* Workaround 'obsolete function alloca() called' cppcheck warnings
* Workaround 'passing untyped NULL to variadic function' cppcheck warning
* Workaround 'pointer used before comparison to null' code defect (pthread)
* Workaround 'possible null pointer dereference' cppcheck warnings
* Workaround 'potential multiplication overflow' code defect in de_win (cord)
* Workaround 'redundant assignment of *result to itself' cppcheck warning
* Workaround 'resource leak' false positives in alloc_MS, bl/envfile_init
* Workaround 'same expression on both sides of ==' cppcheck style warning
* Workaround 'same expression on both sides of OR' cppcheck style warning
* Workaround 'struct member is never used' cppcheck style warnings
* Workaround 'tainted int used as loop bound' static analysis tool warning
* Workaround 'Uninitialized variable' cppcheck errors
* Workaround 'unused variable' cppcheck style warnings
* Workaround 'va_list used before va_start' cppcheck error in cord
* Workaround 'value of macro unknown' cppcheck info messages
* Workaround 'value of REDIRECT_MALLOC/FREE unknown' cppcheck info messages
* Workaround 'value of SIGBUS unknown' cppcheck info messages
* Workaround 'value of WINAPI unknown' cppcheck info messages
* Workaround 'variable hides enumerator with same name' cppcheck warnings
* Workaround 'variable reassigned before old value used' cppcheck warnings
* Workaround 'waiting while holding lock' code defect in stop_world (Unix)
* Workaround false 'uninitialized var use' code defect (initsecondarythread)
Also, includes 7.4.6 changes
   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
   2016-12-03 04:09:26 by John Marino | Files touched by this commit (5)
Log message:
devel/boehm-gc: Fix functionality on DragonFly

Boehm-gc built on DragonFly, but it wasn't working properly.  This is
one of the major reasons lang/guile20 doesn't build.  Ths fix is proven
as it has been taken from DPorts.
   2016-09-28 10:15:30 by Jonathan Perkin | Files touched by this commit (1) | Package updated
Log message:
Limit the Snow Leopard build fix to just Snow Leopard, it causes runtime
failures on newer releases, shown in 'make test' failures and reported in
PR#51511.  Both 'make test' and lang/guile20 now work.  Bump PKGREVISION.
   2016-09-21 19:59:11 by Maya Rashish | Files touched by this commit (3)
Log message:
boehm-gc: apply upstream build fix for FreeBSD/DragonflyBSD.
Requested by David Shao in PR pkg/51414

from upstream commit:
https://github.com/ivmai/bdwgc/commit/6 … de0e7b354c
   2016-08-09 14:50:39 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Updated devel/boehm-gc to 7.6.0
-------------------------------
== [7.6.0] 2016-08-02 ==

* ABORT_ARGn log details at INFO level (Android).
* Add 'pragma message' to gc.h to detect inconsistent WIN64/_WIN64 (MS VC).
* Add API function to calculate total memory in use by all GC blocks.
* Add API function to set/modify GC log file descriptor (Unix).
* Add alloc_size attribute to GC_generic_malloc.
* Add alt-stack registration support.
* Add assertion for GC_new_kind boolean arguments.
* Add assertion on lock status to GC_alloc_large and its callers.
* Add build scripts for VC 9 (Win32/64)
* Add build system plumbing for building with -Werror.
* Add incremental GC support for Darwin/arm64
* Add profiling callback events to indicate start/end of reclaim phase.
* Add support for enumerating the reachable objects in the heap.
* Add toggle-ref support (following Mono GC API).
* Added instructions to README.md for building from git.
* Adjust code indentation of malloc/calloc/str[n]dup.
* Allow fork() automatic handling on Android with API level 21+.
* Allow specific TLS attributes for GC_thread_key.
* Allow thread local allocations from within pthread TLS destructors.
* Allow to force GC_dump_regularly set on at compilation.
* Altera NIOS2 support.
* Change 'cord' no-argument functions declaration style to ANSI C.
* Check DATASTART is less than DATAEND even assertions off.
* Check for execinfo.h by configure.
* Code refactoring of GC_push_finalizer/thread/typed_structures.
* Code refactoring regarding 'data start' definition for FreeBSD.
* Consistently set type of DATASTART/END to ptr_t (code refactoring).
* Consistently use int[] type for '_end' symbol (code refactoring).
* Consistently use outermost parentheses for DATASTART/END, STACKBOTTOM.
* Define GC_LINUX_THREADS, NO_EXECUTE_PERMISSION in configure for NaCl.
* Define ROUNDUP_PAGESIZE, ROUNDUP_GRANULE_SIZE macros (code refactoring).
* Define public GC_GENERIC_OR_SPECIAL_MALLOC and GC_get_kind_and_size.
* Do no declare kernel_id field of GC_Thread_Rep for 64-bit Android.
* Do not allow SHORT_DBG_HDRS if KEEP_BACK_PTRS or MAKE_BACK_GRAPH.
* Do not warn of missing PT_GNU_RELRO segment when custom DSO filter used.
* Document GC_register_my_thread returned value.
* Dump the block information in CSV format.
* Eliminate redundant *flh check for null in GC_allocobj.
* Enable atomic-uncollectable in operator new in gc_cpp.h.
* Enable build with musl libc.
* Enable gc.h inclusion by client without implicit include windows.h (Win32).
* Enable huge_test for Win64 (and LLP64 target).
* Enable thread-local storage for Android Clang.
* Enable thread-local storage usage for GC_malloc/calloc_explicitly_typed.
* Export GC_push_all_eager, GC_push_finalizer_structures.
* Fix 'arg parameter might be clobbered by setjmp' compiler warning.
* Fix assertion in GC_mark_from for non-heap regions.
* Fix compilation for Android clang/arm with bfd linker.
* Fix integer shift undefined behavior in GC_init_explicit_typing.
* Fix missing new-line and redundant trailing dot in WARN messages.
* Fix STACKBOTTOM for Solaris 11/x86.
* Fix tag collision between ENABLE_DISCLAIM and KEEP_BACK_PTRS.
* Fix unchecked fork() result in gctest (Unix, Cygwin).
* Fix user-defined signals drop by marker threads.
* Fix various typos in comments and documentation.
* FreeBSD/arm support improvement.
* GC_make_descriptor code refactoring (eliminate two local variables).
* GC_malloc[_atomic] global and thread-local generalization with kind.
* GC_malloc_[atomic_]uncollectable generalization.
* GC_scratch_alloc code refactoring (and WARN message improvement).
* Group all compact fields of GC_arrays to fit in single page.
* Handle load_segs overflow in register_dynlib_callback gracefully.
* Harmonize OSX/iOS configuration; enable compiling for iPhone simulator.
* Implement event callbacks for profiling (following Mono GC API).
* Implement the finalization extension API.
* Implement thread suspend/resume API (Linux threads only).
* Improve documentation for disappearing links in gc.h.
* Make heap growth more conservative after GC_gcollect_and_unmap call.
* Mark fo_head, finalize_now with a single GC_push_all call (refactoring).
* Move MessageBox invocation code from GC_abort to a separate routine (Win32).
* NaCl/arm initial support; NaCl runtime fixes for other CPUs.
* New macro (GC_ALWAYS_MULTITHREADED) to set multi-threaded mode implicitly.
* New macro (NO_WINMAIN_ENTRY) to prefer main() instead of WinMain in test.
* New macro (REDIRECT_MALLOC_IN_HEADER) to enable source-level redirection.
* Process all PT_LOAD segments before PT_GNU_RELRO segments (Glibc).
* Re-implement GC_finalized_malloc using GC_malloc_kind.
* Refactoring of android_thread_kill/pthread_kill calls.
* Refactoring of GC_Xobjfreelist (use single array to keep free lists).
* Refactoring of thread-local *_freelists (use single array of free lists).
* Refine description in README how to build from source repository.
* Refine GC_free_space_divisor comment regarding its initial value.
* Reformat code of gc_cpp.cc/h.
* Remove 'opp' local variable in GC_malloc_X.
* Remove 'sig' argument of GC_suspend_handler_inner (code refactoring).
* Remove code commented out by 'ifdef UNDEFINED'.
* Remove hb_large_block field (use 1 extra bit of hb_flags instead).
* Remove obsolete BACKING_STORE_ALIGNMENT/DISPLACEMENT macros for Linux/IA64.
* Remove redundant casts in GC_generic_or_special_malloc and similar.
* Remove unsupported FreeBSD/ia64 case from gcconfig.h file.
* Remove unused GC_gcjdebugobjfreelist.
* Rename ATOMIC_UNCOLLECTABLE to GC_ATOMIC_UNCOLLECTABLE.
* Replace non-API occurrences of GC_word to word (code refactoring).
* Return GC_UNIMPLEMENTED instead of abort in GC_get_stack_base (OS/2).
* Show WoW64 warning message if running 32-bit on Win64 (enabled by macro).
* Standalone profiling callback for threads suspend/resume.
* Support (add machine description for) TILE-Gx and TILEPro targets.
* Support build for Android 64-bit (arm64, mips64, x86_64).
* Support FreeBSD/aarch64, FreeBSD/mips.
* Support iOS7 64-bit (AArch64) and iOS8+ 32/64-bit (Darwin).
* Support MinGW build in scripts.
* Turn off sigsetjmp workaround for Android/x86 starting from NDK r8e.
* Use magic header on objects to improve disclaim_test.
* Workaround 'sa_sigaction member missing' compiler error (Android/x32).
* Workaround 'unresolved __tls_get_addr' error for Android NDK Clang.
* Workaround a bug in winpthreads causing parallel marks deadlock (MinGW).
   2016-06-12 16:36:29 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
Updated boehm-gc to 7.4.4.

== [7.4.4] 2016-05-25 ==

* Allow GC_FAST_MALLOC_GRANS() multiple use in a function.
* Also enable the TSX workaround for i386 (Linux).
* Avoid unstructured procfs on Solaris.
* Change cord/de main() declaration style from K-R to ANSI C.
* Change no-argument functions declaration style to ANSI C (cord).
* Do not include sigcontext.h and asm/sigcontext.h.
* Eliminate 'divide by zero' compiler warning in cordtest.
* Eliminate warning about 64-bit pointer-to-int cast (Win64/pthreads-w32).
* Eliminate warnings detected by Cppcheck in cord de[_win].
* Fix 'comparison of non-null parameter is always false' warning (Clang).
* Fix 'CORD_iter5 unused result' code defect in cordxtra.
* Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning.
* Fix 'implicit declaration of vsnprintf' GCC warning (if strict ANSI mode).
* Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize.
* Fix 'statement unreachable' compiler warning in GC_mark_from.
* Fix 'statement unreachable' compiler warning in memalign.
* Fix 'unused label' compiler warning in cord/de.
* Fix 'value truncated' compiler warning in CORD_cat (MS VC).
* Fix 'variable unused' warning in GC_save_callers.
* Fix 'visibility attribute not supported' GCC warning (IBM AIX).
* Fix CMake warning about CMP0054 by unquoting instances of HOST.
* Fix Cygwin64 build.
* Fix GC_REALLOC to call GC_FREE if new size is zero and pointer is non-NULL.
* Fix Makefile.direct for Cygwin.
* Fix __alloc_size__ availability detection (Clang).
* Fix abort message in GC_move_long_link.
* Fix and code refactoring of lock elision workaround (Linux/x64).
* Fix assertion on mark_lock_holder for non-unique NUMERIC_THREAD_ID.
* Fix data race in GC_init_explicit_typing.
* Fix gc.mak regarding msvc_dbg and test (MSVC).
* Fix missing error handling of pthread_attr_init/getstacksize.
* Fix missing error handling of pthreads_mutex_init and cond_wait.
* Fix missing numeric casts in cord.
* Fix potential left shift overflows in finalize.c (64-bit targets).
* Fix pthreads-win32 name in comments and documentation.
* Fix setup_mark_lock missing prototype.
* Fix unchecked fcntl() result.
* Fix unchecked pointer dereference in check_ints (gctest).
* Fix unchecked pthread_join() result in threadkey_test.
* Fix unchecked sigdelset() result in pthread_support.
* Fix undefined PTRFREE/NORMAL in gc_inline.h.
* Prefix PREFETCH_FOR_WRITE with GC_ as used in gc_inline.h public header.
* Relax mark_mutex attribute needed to disable elision (Linux/x64).
* Remove (deprecate) TODO file.
* Remove code duplication in GC_realloc.
* Remove duplicate new-line in OUT_OF_MEMORY message (cord).
* Remove references to missing linux_threads.c from documentation.
* Revert "Move asm machine-dependent files to 'src' folder" (partly).
* Support Android API level 21.
* Update compiler options in gc.mak (Win32).
* Use mmap instead of sbrk (Hurd).
* Workaround 'comparison is always false' GCC warning in GC_FAST_MALLOC_GRANS.
* Workaround 'identical expr on both sides of bitwise op' warning.
* Workaround Linux NTPL lock elision bug.
* Workaround false warning about unreachable code path.
* Workaround invalid '_end' symbol on Android clang 3.5+.
Also, includes 7.2g changes.
   2016-02-25 13:12:50 by Jonathan Perkin | Files touched by this commit (39)
Log message:
Use OPSYSVARS.