diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2016-06-30 10:20:53 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2016-06-30 10:33:16 +0300 |
commit | 9cd4c2f2d3bf68a98210024dfd573c8b50ff41d6 (patch) | |
tree | 23988ff3bb9546e2abdacca458842d57f2fd0a00 /alloc.c | |
parent | f478a1e75bf722c7f8ef2029c28c7f0a0d06c479 (diff) |
Revert "Refactoring of GC_Xobjfreelist" partially
This reverts commit 41871b970c8fd9704835c1a221a8f9f1deea707a partially
(GC_malloc_kind_global, GC_generic_malloc_uncollectable,
GC_destroy_thread_local are not reverted).
Diffstat (limited to 'alloc.c')
-rw-r--r-- | alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,11 +35,11 @@ * an object of (small) size lb as follows: * * lg = GC_size_map[lb]; - * op = GC_freelists[NORMAL][lg]; + * op = GC_objfreelist[lg]; * if (NULL == op) { * op = GENERAL_MALLOC(lb, NORMAL); * } else { - * GC_freelists[NORMAL][lg] = obj_link(op); + * GC_objfreelist[lg] = obj_link(op); * } * * Note that this is very fast if the free list is non-empty; it should |