2007-10-23 Hans Boehm <Hans.Boehm@hp.com>
authorhboehm <hboehm>
Wed, 24 Oct 2007 00:31:46 +0000 (00:31 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:41 +0000 (21:06 +0400)
* doc/scale.html: Reflect gc7 thread local allocation behavior.

ChangeLog
doc/scale.html

index 5956b18..dc4c4eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2007-10-23  Hans Boehm <Hans.Boehm@hp.com>
+
+       * doc/scale.html: Reflect gc7 thread local allocation behavior.
+
+2007-10-23  Hans Boehm <Hans.Boehm@hp.com> (really Petter Urkedal)
+
+       * include/extra/gc.h, include/extra/gc_cpp.h: New.
+       * include/include.am: Install gc.h and gc_cpp.h in $(prefix)/include
+       again.
+       * Makefile.in: Regenerate.
+
 2007-08-15  Hans Boehm <Hans.Boehm@hp.com> (really Samuel Thibault)
        
        * pthread_support.c (GC_thr_init): Use sysconf(_SC_NPROCESSORS_ONLN)
index 2e70148..59da7bc 100644 (file)
@@ -52,9 +52,11 @@ implementation of <TT>GC_malloc_many</tt>, so that free lists can be
 built, and memory can be cleared, by more than one thread concurrently.
 <LI>
 Building the collector with -DTHREAD_LOCAL_ALLOC adds support for thread
-local allocation.  It does not, by itself, cause thread local allocation
-to be used.  It simply allows the use of the interface in 
-<TT>gc_local_alloc.h</tt>.
+local allocation.  Before GC version 7.0, it did not, by itself, cause
+thread local allocation to be used.  It simply allowed the use of the
+interface in <TT>gc_local_alloc.h</tt>.  Since version 7.0, this causes
+GC_malloc, GC_malloc_atomic, and GC_gcj_malloc to be redefined to perform
+thread-local allocation.
 <P>
 Memory returned from thread-local allocators is completely interchangeable
 with that returned by the standard allocators.  It may be used by other
@@ -72,7 +74,8 @@ used heavily, and thus the number of short-duration lock acquisitions
 is greatly reduced.
 </ul>
 <P>
-The easiest way to switch an application to thread-local allocation is to
+The easiest way to switch an application to thread-local allocation
+in a pre-version-7.0 collector was to
 <OL>
 <LI> Define the macro <TT>GC_REDIRECT_TO_LOCAL</tt>,
 and then include the <TT>gc.h</tt>