dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 1a8ba88da34935af154d44ae69a186ca4636a0bf
Date: Sat, 05 Jun 2010 12:35:49 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".

The branch, master has been updated
       via  1a8ba88da34935af154d44ae69a186ca4636a0bf (commit)
      from  666e5b4a5bcc8b6c78a961071597eac6584c218e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=1a8ba88da34935af154d44ae69a186ca4636a0bf

commit 1a8ba88da34935af154d44ae69a186ca4636a0bf
Author: Klaus Treichel <address@hidden>
Date:   Sat Jun 5 13:05:55 2010 +0200

    Remove obsolete include files in libgc.

diff --git a/ChangeLog b/ChangeLog
index 91dcb46..8653fe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-05  Klaus Treichel  <address@hidden>
+
+       * libgc/include/gc_alloc.h: Remove obsolete file
+
+       * libgc/include/gc_inl.h: likewise
+
+       * libgc/include/gc_local_alloc.h: likewise
+
 2010-06-02  Klaus Treichel  <address@hidden>
 
        * engine/Makefile.am: Readd libgc's include directory to the compiler
diff --git a/libgc/include/gc_alloc.h b/libgc/include/gc_alloc.h
deleted file mode 100644
index c50a758..0000000
--- a/libgc/include/gc_alloc.h
+++ /dev/null
@@ -1,383 +0,0 @@
-/*
- * Copyright (c) 1996-1998 by Silicon Graphics.  All rights reserved.
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
- *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
- */
-
-//
-// This is a C++ header file that is intended to replace the SGI STL
-// alloc.h.  This assumes SGI STL version < 3.0.
-//
-// This assumes the collector has been compiled with -DATOMIC_UNCOLLECTABLE
-// and -DALL_INTERIOR_POINTERS.  We also recommend
-// -DREDIRECT_MALLOC=GC_uncollectable_malloc.
-//
-// Some of this could be faster in the explicit deallocation case.  In 
particular,
-// we spend too much time clearing objects on the free lists.  That could be 
avoided.
-//
-// This uses template classes with static members, and hence does not work
-// with g++ 2.7.2 and earlier.
-//
-// This code assumes that the collector itself has been compiled with a
-// compiler that defines __STDC__ .
-//
-
-#include "gc.h"
-
-#ifndef GC_ALLOC_H
-
-#define GC_ALLOC_H
-#define __ALLOC_H      // Prevent inclusion of the default version.  Ugly.
-#define __SGI_STL_ALLOC_H
-#define __SGI_STL_INTERNAL_ALLOC_H
-
-#ifndef __ALLOC
-#   define __ALLOC alloc
-#endif
-
-#include <stddef.h>
-#include <string.h>
-
-// The following is just replicated from the conventional SGI alloc.h:
-
-template<class T, class alloc>
-class simple_alloc {
-
-public:
-    static T *allocate(size_t n)
-                { return 0 == n? 0 : (T*) alloc::allocate(n * sizeof (T)); }
-    static T *allocate(void)
-                { return (T*) alloc::allocate(sizeof (T)); }
-    static void deallocate(T *p, size_t n)
-                { if (0 != n) alloc::deallocate(p, n * sizeof (T)); }
-    static void deallocate(T *p)
-                { alloc::deallocate(p, sizeof (T)); }
-};
-
-#include "gc.h"
-
-// The following need to match collector data structures.
-// We can't include gc_priv.h, since that pulls in way too much stuff.
-// This should eventually be factored out into another include file.
-
-extern "C" {
-    extern void ** const GC_objfreelist_ptr;
-    extern void ** const GC_aobjfreelist_ptr;
-    extern void ** const GC_uobjfreelist_ptr;
-    extern void ** const GC_auobjfreelist_ptr;
-
-    extern void GC_incr_words_allocd(size_t words);
-    extern void GC_incr_mem_freed(size_t words);
-
-    extern char * GC_generic_malloc_words_small(size_t word, int kind);
-}
-
-// Object kinds; must match PTRFREE, NORMAL, UNCOLLECTABLE, and
-// AUNCOLLECTABLE in gc_priv.h.
-
-enum { GC_PTRFREE = 0, GC_NORMAL = 1, GC_UNCOLLECTABLE = 2,
-       GC_AUNCOLLECTABLE = 3 };
-
-enum { GC_max_fast_bytes = 255 };
-
-enum { GC_bytes_per_word = sizeof(char *) };
-
-enum { GC_byte_alignment = 8 };
-
-enum { GC_word_alignment = GC_byte_alignment/GC_bytes_per_word };
-
-inline void * &GC_obj_link(void * p)
-{   return *(void **)p;  }
-
-// Compute a number of words >= n+1 bytes.
-// The +1 allows for pointers one past the end.
-inline size_t GC_round_up(size_t n)
-{
-    return ((n + GC_byte_alignment)/GC_byte_alignment)*GC_word_alignment;
-}
-
-// The same but don't allow for extra byte.
-inline size_t GC_round_up_uncollectable(size_t n)
-{
-    return ((n + GC_byte_alignment - 1)/GC_byte_alignment)*GC_word_alignment;
-}
-
-template <int dummy>
-class GC_aux_template {
-public:
-  // File local count of allocated words.  Occasionally this is
-  // added into the global count.  A separate count is necessary since the
-  // real one must be updated with a procedure call.
-  static size_t GC_words_recently_allocd;
-
-  // Same for uncollectable mmory.  Not yet reflected in either
-  // GC_words_recently_allocd or GC_non_gc_bytes.
-  static size_t GC_uncollectable_words_recently_allocd;
-
-  // Similar counter for explicitly deallocated memory.
-  static size_t GC_mem_recently_freed;
-
-  // Again for uncollectable memory.
-  static size_t GC_uncollectable_mem_recently_freed;
-
-  static void * GC_out_of_line_malloc(size_t nwords, int kind);
-};
-
-template <int dummy>
-size_t GC_aux_template<dummy>::GC_words_recently_allocd = 0;
-
-template <int dummy>
-size_t GC_aux_template<dummy>::GC_uncollectable_words_recently_allocd = 0;
-
-template <int dummy>
-size_t GC_aux_template<dummy>::GC_mem_recently_freed = 0;
-
-template <int dummy>
-size_t GC_aux_template<dummy>::GC_uncollectable_mem_recently_freed = 0;
-
-template <int dummy>
-void * GC_aux_template<dummy>::GC_out_of_line_malloc(size_t nwords, int kind)
-{
-    GC_words_recently_allocd += GC_uncollectable_words_recently_allocd;
-    GC_non_gc_bytes +=
-                GC_bytes_per_word * GC_uncollectable_words_recently_allocd;
-    GC_uncollectable_words_recently_allocd = 0;
-
-    GC_mem_recently_freed += GC_uncollectable_mem_recently_freed;
-    GC_non_gc_bytes -= 
-                GC_bytes_per_word * GC_uncollectable_mem_recently_freed;
-    GC_uncollectable_mem_recently_freed = 0;
-
-    GC_incr_words_allocd(GC_words_recently_allocd);
-    GC_words_recently_allocd = 0;
-
-    GC_incr_mem_freed(GC_mem_recently_freed);
-    GC_mem_recently_freed = 0;
-
-    return GC_generic_malloc_words_small(nwords, kind);
-}
-
-typedef GC_aux_template<0> GC_aux;
-
-// A fast, single-threaded, garbage-collected allocator
-// We assume the first word will be immediately overwritten.
-// In this version, deallocation is not a noop, and explicit
-// deallocation is likely to help performance.
-template <int dummy>
-class single_client_gc_alloc_template {
-    public:
-       static void * allocate(size_t n)
-        {
-           size_t nwords = GC_round_up(n);
-           void ** flh;
-           void * op;
-
-           if (n > GC_max_fast_bytes) return GC_malloc(n);
-           flh = GC_objfreelist_ptr + nwords;
-           if (0 == (op = *flh)) {
-               return GC_aux::GC_out_of_line_malloc(nwords, GC_NORMAL);
-           }
-           *flh = GC_obj_link(op);
-           GC_aux::GC_words_recently_allocd += nwords;
-           return op;
-        }
-       static void * ptr_free_allocate(size_t n)
-        {
-           size_t nwords = GC_round_up(n);
-           void ** flh;
-           void * op;
-
-           if (n > GC_max_fast_bytes) return GC_malloc_atomic(n);
-           flh = GC_aobjfreelist_ptr + nwords;
-           if (0 == (op = *flh)) {
-               return GC_aux::GC_out_of_line_malloc(nwords, GC_PTRFREE);
-           }
-           *flh = GC_obj_link(op);
-           GC_aux::GC_words_recently_allocd += nwords;
-           return op;
-        }
-       static void deallocate(void *p, size_t n)
-       {
-            size_t nwords = GC_round_up(n);
-            void ** flh;
-          
-           if (n > GC_max_fast_bytes)  {
-               GC_free(p);
-           } else {
-               flh = GC_objfreelist_ptr + nwords;
-               GC_obj_link(p) = *flh;
-               memset((char *)p + GC_bytes_per_word, 0,
-                      GC_bytes_per_word * (nwords - 1));
-               *flh = p;
-               GC_aux::GC_mem_recently_freed += nwords;
-           }
-       }
-       static void ptr_free_deallocate(void *p, size_t n)
-       {
-            size_t nwords = GC_round_up(n);
-            void ** flh;
-          
-           if (n > GC_max_fast_bytes) {
-               GC_free(p);
-           } else {
-               flh = GC_aobjfreelist_ptr + nwords;
-               GC_obj_link(p) = *flh;
-               *flh = p;
-               GC_aux::GC_mem_recently_freed += nwords;
-           }
-       }
-};
-
-typedef single_client_gc_alloc_template<0> single_client_gc_alloc;
-
-// Once more, for uncollectable objects.
-template <int dummy>
-class single_client_alloc_template {
-    public:
-       static void * allocate(size_t n)
-        {
-           size_t nwords = GC_round_up_uncollectable(n);
-           void ** flh;
-           void * op;
-
-           if (n > GC_max_fast_bytes) return GC_malloc_uncollectable(n);
-           flh = GC_uobjfreelist_ptr + nwords;
-           if (0 == (op = *flh)) {
-               return GC_aux::GC_out_of_line_malloc(nwords, GC_UNCOLLECTABLE);
-           }
-           *flh = GC_obj_link(op);
-           GC_aux::GC_uncollectable_words_recently_allocd += nwords;
-           return op;
-        }
-       static void * ptr_free_allocate(size_t n)
-        {
-           size_t nwords = GC_round_up_uncollectable(n);
-           void ** flh;
-           void * op;
-
-           if (n > GC_max_fast_bytes) return GC_malloc_atomic_uncollectable(n);
-           flh = GC_auobjfreelist_ptr + nwords;
-           if (0 == (op = *flh)) {
-               return GC_aux::GC_out_of_line_malloc(nwords, GC_AUNCOLLECTABLE);
-           }
-           *flh = GC_obj_link(op);
-           GC_aux::GC_uncollectable_words_recently_allocd += nwords;
-           return op;
-        }
-       static void deallocate(void *p, size_t n)
-       {
-            size_t nwords = GC_round_up_uncollectable(n);
-            void ** flh;
-          
-           if (n > GC_max_fast_bytes)  {
-               GC_free(p);
-           } else {
-               flh = GC_uobjfreelist_ptr + nwords;
-               GC_obj_link(p) = *flh;
-               *flh = p;
-               GC_aux::GC_uncollectable_mem_recently_freed += nwords;
-           }
-       }
-       static void ptr_free_deallocate(void *p, size_t n)
-       {
-            size_t nwords = GC_round_up_uncollectable(n);
-            void ** flh;
-          
-           if (n > GC_max_fast_bytes) {
-               GC_free(p);
-           } else {
-               flh = GC_auobjfreelist_ptr + nwords;
-               GC_obj_link(p) = *flh;
-               *flh = p;
-               GC_aux::GC_uncollectable_mem_recently_freed += nwords;
-           }
-       }
-};
-
-typedef single_client_alloc_template<0> single_client_alloc;
-
-template < int dummy >
-class gc_alloc_template {
-    public:
-       static void * allocate(size_t n) { return GC_malloc(n); }
-       static void * ptr_free_allocate(size_t n)
-               { return GC_malloc_atomic(n); }
-       static void deallocate(void *, size_t) { }
-       static void ptr_free_deallocate(void *, size_t) { }
-};
-
-typedef gc_alloc_template < 0 > gc_alloc;
-
-template < int dummy >
-class alloc_template {
-    public:
-       static void * allocate(size_t n) { return GC_malloc_uncollectable(n); }
-       static void * ptr_free_allocate(size_t n)
-               { return GC_malloc_atomic_uncollectable(n); }
-       static void deallocate(void *p, size_t) { GC_free(p); }
-       static void ptr_free_deallocate(void *p, size_t) { GC_free(p); }
-};
-
-typedef alloc_template < 0 > alloc;
-
-#ifdef _SGI_SOURCE
-
-// We want to specialize simple_alloc so that it does the right thing
-// for all pointerfree types.  At the moment there is no portable way to
-// even approximate that.  The following approximation should work for
-// SGI compilers, and perhaps some others.
-
-# define __GC_SPECIALIZE(T,alloc) \
-class simple_alloc<T, alloc> { \
-public: \
-    static T *allocate(size_t n) \
-       { return 0 == n? 0 : \
-                        (T*) alloc::ptr_free_allocate(n * sizeof (T)); } \
-    static T *allocate(void) \
-       { return (T*) alloc::ptr_free_allocate(sizeof (T)); } \
-    static void deallocate(T *p, size_t n) \
-       { if (0 != n) alloc::ptr_free_deallocate(p, n * sizeof (T)); } \
-    static void deallocate(T *p) \
-       { alloc::ptr_free_deallocate(p, sizeof (T)); } \
-};
-
-__GC_SPECIALIZE(char, gc_alloc)
-__GC_SPECIALIZE(int, gc_alloc)
-__GC_SPECIALIZE(unsigned, gc_alloc)
-__GC_SPECIALIZE(float, gc_alloc)
-__GC_SPECIALIZE(double, gc_alloc)
-
-__GC_SPECIALIZE(char, alloc)
-__GC_SPECIALIZE(int, alloc)
-__GC_SPECIALIZE(unsigned, alloc)
-__GC_SPECIALIZE(float, alloc)
-__GC_SPECIALIZE(double, alloc)
-
-__GC_SPECIALIZE(char, single_client_gc_alloc)
-__GC_SPECIALIZE(int, single_client_gc_alloc)
-__GC_SPECIALIZE(unsigned, single_client_gc_alloc)
-__GC_SPECIALIZE(float, single_client_gc_alloc)
-__GC_SPECIALIZE(double, single_client_gc_alloc)
-
-__GC_SPECIALIZE(char, single_client_alloc)
-__GC_SPECIALIZE(int, single_client_alloc)
-__GC_SPECIALIZE(unsigned, single_client_alloc)
-__GC_SPECIALIZE(float, single_client_alloc)
-__GC_SPECIALIZE(double, single_client_alloc)
-
-#ifdef __STL_USE_STD_ALLOCATORS
-
-???copy stuff from stl_alloc.h or remove it to a different file ???
-
-#endif /* __STL_USE_STD_ALLOCATORS */
-
-#endif /* _SGI_SOURCE */
-
-#endif /* GC_ALLOC_H */
diff --git a/libgc/include/gc_inl.h b/libgc/include/gc_inl.h
deleted file mode 100644
index c535cfd..0000000
--- a/libgc/include/gc_inl.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/* 
- * Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
- * Copyright (c) 1991-1995 by Xerox Corporation.  All rights reserved.
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
- *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
- */
-/* Boehm, October 3, 1995 2:07 pm PDT */
- 
-# ifndef GC_PRIVATE_H
-#   include "private/gc_priv.h"
-# endif
-
-/* USE OF THIS FILE IS NOT RECOMMENDED unless GC_all_interior_pointers */
-/* is always set, or the collector has been built with                 */
-/* -DDONT_ADD_BYTE_AT_END, or the specified size includes a pointerfree        
*/
-/* word at the end.  In the standard collector configuration,          */
-/* the final word of each object may not be scanned.                   */
-/* This iinterface is most useful for compilers that generate C.       */
-/* Manual use is hereby discouraged.                                   */
-
-/* Allocate n words (NOT BYTES).  X is made to point to the result.    */
-/* It is assumed that n < MAXOBJSZ, and                                        
*/
-/* that n > 0.  On machines requiring double word alignment of some    */
-/* data, we also assume that n is 1 or even.                           */
-/* If the collector is built with -DUSE_MARK_BYTES or -DPARALLEL_MARK, */
-/* the n = 1 case is also disallowed.                                  */
-/* Effectively this means that portable code should make sure n is even.*/
-/* This bypasses the                                                   */
-/* MERGE_SIZES mechanism.  In order to minimize the number of distinct */
-/* free lists that are maintained, the caller should ensure that a     */
-/* small number of distinct values of n are used.  (The MERGE_SIZES    */
-/* mechanism normally does this by ensuring that only the leading three        
*/
-/* bits of n may be nonzero.  See misc.c for details.)  We really      */
-/* recommend this only in cases in which n is a constant, and no       */
-/* locking is required.                                                        
*/
-/* In that case it may allow the compiler to perform substantial       */
-/* additional optimizations.                                           */
-# define GC_MALLOC_WORDS(result,n) \
-{      \
-    register ptr_t op; \
-    register ptr_t *opp;       \
-    DCL_LOCK_STATE;    \
-       \
-    opp = &(GC_objfreelist[n]);        \
-    FASTLOCK();        \
-    if( !FASTLOCK_SUCCEEDED() || (op = *opp) == 0 ) {  \
-        FASTUNLOCK();  \
-        (result) = GC_generic_malloc_words_small((n), NORMAL); \
-    } else {   \
-        *opp = obj_link(op);   \
-        obj_link(op) = 0;      \
-        GC_words_allocd += (n);        \
-        FASTUNLOCK();  \
-        (result) = (GC_PTR) op;        \
-    }  \
-}
-
-
-/* The same for atomic objects:        */
-# define GC_MALLOC_ATOMIC_WORDS(result,n) \
-{      \
-    register ptr_t op; \
-    register ptr_t *opp;       \
-    DCL_LOCK_STATE;    \
-       \
-    opp = &(GC_aobjfreelist[n]);       \
-    FASTLOCK();        \
-    if( !FASTLOCK_SUCCEEDED() || (op = *opp) == 0 ) {  \
-        FASTUNLOCK();  \
-        (result) = GC_generic_malloc_words_small((n), PTRFREE);        \
-    } else {   \
-        *opp = obj_link(op);   \
-        obj_link(op) = 0;      \
-        GC_words_allocd += (n);        \
-        FASTUNLOCK();  \
-        (result) = (GC_PTR) op;        \
-    }  \
-}
-
-/* And once more for two word initialized objects: */
-# define GC_CONS(result, first, second) \
-{      \
-    register ptr_t op; \
-    register ptr_t *opp;       \
-    DCL_LOCK_STATE;    \
-       \
-    opp = &(GC_objfreelist[2]);        \
-    FASTLOCK();        \
-    if( !FASTLOCK_SUCCEEDED() || (op = *opp) == 0 ) {  \
-        FASTUNLOCK();  \
-        op = GC_generic_malloc_words_small(2, NORMAL); \
-    } else {   \
-        *opp = obj_link(op);   \
-        GC_words_allocd += 2;  \
-        FASTUNLOCK();  \
-    } \
-    ((word *)op)[0] = (word)(first);   \
-    ((word *)op)[1] = (word)(second);  \
-    (result) = (GC_PTR) op;    \
-}
diff --git a/libgc/include/gc_local_alloc.h b/libgc/include/gc_local_alloc.h
deleted file mode 100644
index 1874c7b..0000000
--- a/libgc/include/gc_local_alloc.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* 
- * Copyright (c) 2000 by Hewlett-Packard Company.  All rights reserved.
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
- *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
- */
-
-/*
- * Interface for thread local allocation.  Memory obtained
- * this way can be used by all threads, as though it were obtained
- * from an allocator like GC_malloc.  The difference is that GC_local_malloc
- * counts the number of allocations of a given size from the current thread,
- * and uses GC_malloc_many to perform the allocations once a threashold
- * is exceeded.  Thus far less synchronization may be needed.
- * Allocation of known large objects should not use this interface.
- * This interface is designed primarily for fast allocation of small
- * objects on multiprocessors, e.g. for a JVM running on an MP server.
- *
- * If this file is included with GC_GCJ_SUPPORT defined, GCJ-style
- * bitmap allocation primitives will also be included.
- *
- * If this file is included with GC_REDIRECT_TO_LOCAL defined, then
- * GC_MALLOC, GC_MALLOC_ATOMIC, and possibly GC_GCJ_MALLOC will
- * be redefined to use the thread local allocatoor.
- *
- * The interface is available only if the collector is built with
- * -DTHREAD_LOCAL_ALLOC, which is currently supported only on Linux.
- *
- * The debugging allocators use standard, not thread-local allocation.
- *
- * These routines normally require an explicit call to GC_init(), though
- * that may be done from a constructor function.
- */
-
-#ifndef GC_LOCAL_ALLOC_H
-#define GC_LOCAL_ALLOC_H
-
-#ifndef _GC_H
-#   include "gc.h"
-#endif
-
-#if defined(GC_GCJ_SUPPORT) && !defined(GC_GCJ_H)
-#   include "gc_gcj.h"
-#endif
-
-/* We assume ANSI C for this interface.        */
-
-GC_PTR GC_local_malloc(size_t bytes);
-
-GC_PTR GC_local_malloc_atomic(size_t bytes);
-
-#if defined(GC_GCJ_SUPPORT)
-  GC_PTR GC_local_gcj_malloc(size_t bytes,
-                            void * ptr_to_struct_containing_descr);
-#endif
-
-# ifdef GC_DEBUG
-    /* We don't really use local allocation in this case.      */
-#   define GC_LOCAL_MALLOC(s) GC_debug_malloc(s,GC_EXTRAS)
-#   define GC_LOCAL_MALLOC_ATOMIC(s) GC_debug_malloc_atomic(s,GC_EXTRAS)
-#   ifdef GC_GCJ_SUPPORT
-#      define GC_LOCAL_GCJ_MALLOC(s,d) GC_debug_gcj_malloc(s,d,GC_EXTRAS)
-#   endif
-# else
-#   define GC_LOCAL_MALLOC(s) GC_local_malloc(s)
-#   define GC_LOCAL_MALLOC_ATOMIC(s) GC_local_malloc_atomic(s)
-#   ifdef GC_GCJ_SUPPORT
-#      define GC_LOCAL_GCJ_MALLOC(s,d) GC_local_gcj_malloc(s,d)
-#   endif
-# endif
-
-# ifdef GC_REDIRECT_TO_LOCAL
-#   undef GC_MALLOC
-#   define GC_MALLOC(s) GC_LOCAL_MALLOC(s)
-#   undef GC_MALLOC_ATOMIC
-#   define GC_MALLOC_ATOMIC(s) GC_LOCAL_MALLOC_ATOMIC(s)
-#   ifdef GC_GCJ_SUPPORT
-#      undef GC_GCJ_MALLOC
-#      define GC_GCJ_MALLOC(s,d) GC_LOCAL_GCJ_MALLOC(s,d)
-#   endif
-# endif
-
-#endif /* GC_LOCAL_ALLOC_H */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |    8 +
 libgc/include/gc_alloc.h       |  383 ----------------------------------------
 libgc/include/gc_inl.h         |  107 -----------
 libgc/include/gc_local_alloc.h |   89 ---------
 4 files changed, 8 insertions(+), 579 deletions(-)
 delete mode 100644 libgc/include/gc_alloc.h
 delete mode 100644 libgc/include/gc_inl.h
 delete mode 100644 libgc/include/gc_local_alloc.h


hooks/post-receive
-- 
DotGNU Portable.NET engine, compilers and tools (pnet)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]