[tools] Add nuget-hash-extractor tool to help produce the runtime ignored assemblies...
[mono-project.git] / mono / sgen / sgen-major-copy-object.h
blob826aca9dfd1fa7b5fb32ebe9d8f9f0a6175a036a
1 /*
2 * sgen-major-copy-object.h: Object copying in the major collectors.
4 * Copyright 2001-2003 Ximian, Inc
5 * Copyright 2003-2010 Novell, Inc.
6 * Copyright (C) 2012 Xamarin Inc
8 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 */
11 #define collector_pin_object(obj, queue) do { \
12 if (sgen_ptr_in_nursery (obj)) { \
13 sgen_pin_object (obj, queue); \
14 } else { \
15 g_assert (objsize <= SGEN_MAX_SMALL_OBJ_SIZE); \
16 pin_major_object (obj, queue); \
17 } \
18 } while (0)
20 #define COLLECTOR_SERIAL_ALLOC_FOR_PROMOTION sgen_minor_collector.alloc_for_promotion
22 #include "sgen-copy-object.h"