From: Ivan Maidanski Date: Wed, 24 Aug 2011 09:36:53 +0000 (+0400) Subject: Remove references to old missing gc_alloc.h and gc_local_alloc.h files. X-Git-Tag: gc7_3alpha2~395 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f07a014716ce7fff74a1b9ca896f2d9678f256f;p=gc Remove references to old missing gc_alloc.h and gc_local_alloc.h files. Remove unused HPUX GC_test_and_clear implementation. * hpux_test_and_clear.s: Remove. * Makefile.am (EXTRA_DIST): Remove hpux_test_and_clear.s. * Makefile.direct (SRCS): Ditto. * Makefile.dj (SRCS): Ditto. * Makefile.dj (SRCS): Remove missing gcc_support.c, include/gc_alloc.h, include/gc_local_alloc.h. * doc/gcdescr.html: Remove information about gc_local_alloc.h. * doc/gcinterface.html: Ditto. * doc/scale.html: Ditto. * doc/gcinterface.html: Remove information about gc_alloc.h. * tests/test_cpp.cc: Don't include missing old gc_alloc.h (include new_gc_alloc.h instead); don't test __GNUC__. * tests/test_cpp.cc (main): Use gc_alloc class instead of alloc (don't test __GNUC__). * windows-untested/vc60/gc.dsp (SOURCE): Don't include missing gc_alloc.h, gc_local_alloc.h. * windows-untested/vc60/libgc.dsp (SOURCE): Ditto. * windows-untested/vc70/gc.vcproj (Header Files): Ditto. * windows-untested/vc70/libgc.vcproj (Header Files): Ditto. * windows-untested/vc71/gc.vcproj (Header Files): Ditto. * windows-untested/vc71/libgc.vcproj (Header Files): Ditto. --- diff --git a/Makefile.am b/Makefile.am index f652c723..8424239d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -169,7 +169,7 @@ EXTRA_DIST += README.QUICK TODO # :GOTCHA: deliberately we do not include 'Makefile' EXTRA_DIST += BCC_MAKEFILE NT_MAKEFILE \ OS2_MAKEFILE PCR-Makefile digimars.mak EMX_MAKEFILE \ - Makefile.direct Makefile.dj Makefile.DLLs SMakefile.amiga \ + Makefile.direct Makefile.dj Makefile.DLLs SMakefile.amiga \ WCC_MAKEFILE autogen.sh build_atomic_ops.sh build_atomic_ops.sh.cygwin \ NT_STATIC_THREADS_MAKEFILE NT_X64_STATIC_THREADS_MAKEFILE \ NT_X64_THREADS_MAKEFILE CMakeLists.txt tests/CMakeLists.txt @@ -177,7 +177,7 @@ EXTRA_DIST += BCC_MAKEFILE NT_MAKEFILE \ # files used by makefiles other than Makefile.am # EXTRA_DIST += extra/add_gc_prefix.c extra/gc.c extra/gcname.c \ - extra/if_mach.c extra/if_not_there.c hpux_test_and_clear.s gc.mak \ + extra/if_mach.c extra/if_not_there.c gc.mak \ extra/MacOS.c MacProjects.sit.hqx mach_dep.c extra/setjmp_t.c \ extra/threadlibs.c extra/AmigaOS.c \ Mac_files/datastart.c Mac_files/dataend.c \ diff --git a/Makefile.direct b/Makefile.direct index adf438de..460c94ad 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -96,11 +96,8 @@ SRCS= $(CSRCS) mips_sgi_mach_dep.s rs6000_mach_dep.s alpha_mach_dep.S \ mips_ultrix_mach_dep.s \ include/new_gc_alloc.h include/gc_allocator.h \ include/javaxfc.h sparc_sunos4_mach_dep.s sparc_netbsd_mach_dep.s \ - include/gc_backptr.h \ - hpux_test_and_clear.s include/gc_gcj.h \ - include/private/dbg_mlc.h \ - include/private/specific.h \ - include/leak_detector.h \ + include/gc_backptr.h include/gc_gcj.h include/private/dbg_mlc.h \ + include/private/specific.h include/leak_detector.h \ include/gc_pthread_redirects.h ia64_save_regs_in_stack.s \ include/gc_config_macros.h include/private/pthread_support.h \ include/private/pthread_stop_world.h include/private/darwin_semaphore.h \ diff --git a/Makefile.dj b/Makefile.dj index 04aab8c5..e5198894 100644 --- a/Makefile.dj +++ b/Makefile.dj @@ -52,11 +52,10 @@ SRCS= $(CSRCS) mips_sgi_mach_dep.S rs6000_mach_dep.s alpha_mach_dep.S \ include/gc_inline.h gc.man extra/threadlibs.c \ extra/if_mach.c extra/if_not_there.c gc_cpp.cc include/gc_cpp.h \ include/weakpointer.h include/private/gc_locks.h \ - gcc_support.c mips_ultrix_mach_dep.s include/gc_alloc.h \ + mips_ultrix_mach_dep.s \ include/new_gc_alloc.h include/javaxfc.h sparc_sunos4_mach_dep.s \ include/private/solaris_threads.h include/gc_backptr.h \ - hpux_test_and_clear.s include/gc_gcj.h \ - include/gc_local_alloc.h include/private/dbg_mlc.h \ + include/gc_gcj.h include/private/dbg_mlc.h \ include/private/specific.h \ include/leak_detector.h $(CORD_SRCS) diff --git a/doc/gcdescr.html b/doc/gcdescr.html index 29e946cc..68448e61 100644 --- a/doc/gcdescr.html +++ b/doc/gcdescr.html @@ -612,9 +612,6 @@ transferred back to the global free list. Note that if the collector is configured for thread-local allocation, GC versions before 7 do not invoke the thread-local allocator by default. GC_malloc only uses thread-local allocation in version 7 and later. -In earlier versions, GC_MALLOC (all caps) may be directed -to use thread-local allocation by defining GC_REDIRECT_TO_LOCAL -and then include gc_local_alloc.h.

For some more details see here, and the technical report entitled diff --git a/doc/gcinterface.html b/doc/gcinterface.html index bb0995d8..c78f6a9e 100644 --- a/doc/gcinterface.html +++ b/doc/gcinterface.html @@ -158,12 +158,6 @@ for details.

If you are concerned with multiprocessor performance and scalability, you should consider enabling and using thread local allocation. -For GC versions before 7.0, use e.g. -GC_LOCAL_MALLOC and see gc_local_alloc.h; -for later versions enabling thread-local allocations when the collector -library is built changes the -implementation of GC_MALLOC, so the client doesn't need to -change.

If your platform supports it, you should build the collector with parallel marking support @@ -242,9 +236,6 @@ Users of the SGI extended STL or its derivatives (including most g++ versions) may instead be able to include new_gc_alloc.h before including STL header files. This is increasingly discouraged. -(gc_alloc.h corresponds to now obsolete versions of the -SGI STL.) This interface is no longer recommended, but it has existed -for much longer.

This defines SGI-style allocators