3 * Object copying in the major collectors.
5 * Copyright 2001-2003 Ximian, Inc
6 * Copyright 2003-2010 Novell, Inc.
7 * Copyright (C) 2012 Xamarin Inc
9 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
12 #define collector_pin_object(obj, queue) do { \
13 if (sgen_ptr_in_nursery (obj)) { \
14 sgen_pin_object (obj, queue); \
16 g_assert (objsize <= SGEN_MAX_SMALL_OBJ_SIZE); \
17 pin_major_object (obj, queue); \
21 #define COLLECTOR_SERIAL_ALLOC_FOR_PROMOTION sgen_minor_collector.alloc_for_promotion
22 #define COLLECTOR_PARALLEL_ALLOC_FOR_PROMOTION sgen_minor_collector.alloc_for_promotion_par
24 #include "sgen-copy-object.h"