Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-06-30 10:20:53 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-06-30 10:33:16 +0300
commit9cd4c2f2d3bf68a98210024dfd573c8b50ff41d6 (patch)
tree23988ff3bb9546e2abdacca458842d57f2fd0a00 /alloc.c
parentf478a1e75bf722c7f8ef2029c28c7f0a0d06c479 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alloc.c b/alloc.c
index d7a381dc..4a2cf3c7 100644
--- a/alloc.c
+++ b/alloc.c
@@ -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