X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-client.h;h=6d60c3516c6a380c8a2de1c47827a34229ea853a;hb=b0f00d71a9cb02b2ce015b40733adb7e3a76a113;hp=5c803b50ae59a397cd1314702b19f3895091ea79;hpb=3bc22b19614835c73c42101eaf58de6f666ef81a;p=mono.git diff --git a/mono/sgen/sgen-client.h b/mono/sgen/sgen-client.h index 5c803b50ae5..6d60c3516c6 100644 --- a/mono/sgen/sgen-client.h +++ b/mono/sgen/sgen-client.h @@ -3,18 +3,7 @@ * * Copyright (C) 2014 Xamarin Inc * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License 2.0 as published by the Free Software Foundation; - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License 2.0 along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include "mono/sgen/sgen-pointer-queue.h" @@ -105,7 +94,7 @@ void sgen_client_ensure_weak_gchandles_accessible (void); * parts of the object based on which cards are marked, do so and return TRUE. Otherwise, * return FALSE. */ -gboolean sgen_client_cardtable_scan_object (GCObject *obj, mword block_obj_size, guint8 *cards, gboolean mod_union, ScanCopyContext ctx); +gboolean sgen_client_cardtable_scan_object (GCObject *obj, mword block_obj_size, guint8 *cards, ScanCopyContext ctx); /* * Called after nursery objects have been pinned. No action is necessary. @@ -140,14 +129,6 @@ void sgen_client_degraded_allocation (size_t size); */ void sgen_client_total_allocated_heap_changed (size_t allocated_heap_size); -/* - * Called when an object allocation fails. The suggested action is to abort the program. - * - * FIXME: Don't we want to return a BOOL here that indicates whether to retry the - * allocation? - */ -void sgen_client_out_of_memory (size_t size); - /* * If the client has registered any internal memory types, this must return a string * describing the given type. Only used for debugging. @@ -193,7 +174,7 @@ void sgen_client_scan_thread_data (void *start_nursery, void *end_nursery, gbool * single-threaded programs this is a nop. */ void sgen_client_stop_world (int generation); -void sgen_client_restart_world (int generation, GGTimingInfo *timing); +void sgen_client_restart_world (int generation, gint64 *stw_time); /* * Must return FALSE. The bridge is not supported outside of Mono. @@ -216,12 +197,6 @@ void sgen_client_bridge_register_finalized_object (GCObject *object); void sgen_client_mark_togglerefs (char *start, char *end, ScanCopyContext ctx); void sgen_client_clear_togglerefs (char *start, char *end, ScanCopyContext ctx); -/* - * Called after collections, reporting the amount of time they took. No action is - * necessary. - */ -void sgen_client_log_timing (GGTimingInfo *info, mword last_major_num_sections, mword last_los_memory_usage); - /* * Called to handle `MONO_GC_PARAMS` and `MONO_GC_DEBUG` options. The `handle` functions * must return TRUE if they have recognized and processed the option, FALSE otherwise.