[tests] Disable tests that crash on android sdks (#17255)
[mono-project.git] / mono / sgen / sgen-major-copy-object.h
blobb110a75d847a65adba6d90a3443a6b1648a1c985
1 /**
2 * \file
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); \
15 } else { \
16 g_assert (objsize <= SGEN_MAX_SMALL_OBJ_SIZE); \
17 pin_major_object (obj, queue); \
18 } \
19 } while (0)
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"