[sgen] Fix heavy binary protocol.
authorMark Probst <mark.probst@gmail.com>
Fri, 1 May 2015 17:36:40 +0000 (10:36 -0700)
committerMark Probst <mark.probst@gmail.com>
Fri, 1 May 2015 17:36:40 +0000 (10:36 -0700)
mono/metadata/sgen-client-mono.h

index 7ad5b9ed10f4a016ff3811a2e01c3e15779035ef..e7c4864d3904651d5a3c251f10f65c924ad75ca8 100644 (file)
@@ -383,6 +383,21 @@ sgen_client_binary_protocol_world_restarted (int generation, long long timestamp
        mono_profiler_gc_event (MONO_GC_EVENT_POST_START_WORLD, generation);
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_block_alloc (gpointer addr, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_block_free (gpointer addr, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_block_set_state (gpointer addr, size_t size, int old, int new)
+{
+}
+
 static void G_GNUC_UNUSED
 sgen_client_binary_protocol_mark_start (int generation)
 {
@@ -446,6 +461,21 @@ sgen_client_binary_protocol_alloc_degraded (gpointer obj, gpointer vtable, size_
        MONO_GC_MAJOR_OBJ_ALLOC_DEGRADED ((mword)obj, size, sgen_client_vtable_get_namespace (vtable), sgen_client_vtable_get_name (vtable));
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_card_scan (gpointer start, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_pin_stage (gpointer addr_ptr, gpointer addr)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_cement_stage (gpointer addr)
+{
+}
+
 static void G_GNUC_UNUSED
 sgen_client_binary_protocol_pin (gpointer obj, gpointer vtable, size_t size)
 {
@@ -459,6 +489,36 @@ sgen_client_binary_protocol_pin (gpointer obj, gpointer vtable, size_t size)
 #endif
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_mark (gpointer obj, gpointer vtable, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_scan_begin (gpointer obj, gpointer vtable, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_scan_vtype_begin (gpointer obj, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_scan_process_reference (gpointer obj, gpointer ptr, gpointer value)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_scan_stack (gpointer thread, gpointer stack_start, gpointer stack_end, int skip_reason)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_wbarrier (gpointer ptr, gpointer value, gpointer value_vtable)
+{
+}
+
 static void G_GNUC_UNUSED
 sgen_client_binary_protocol_cement (gpointer ptr, gpointer vtable, size_t size)
 {
@@ -493,6 +553,16 @@ sgen_client_binary_protocol_global_remset (gpointer ptr, gpointer value, gpointe
 #endif
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_ptr_update (gpointer ptr, gpointer old_value, gpointer new_value, gpointer vtable, size_t size)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_cleanup (gpointer ptr, gpointer vtable, size_t size)
+{
+}
+
 static void G_GNUC_UNUSED
 sgen_client_binary_protocol_dislink_update (gpointer link, gpointer obj, gboolean track, gboolean staged)
 {
@@ -509,6 +579,16 @@ sgen_client_binary_protocol_dislink_update (gpointer link, gpointer obj, gboolea
 #endif
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_dislink_update_staged (gpointer link, gpointer obj, gboolean track, int index)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_dislink_process_staged (gpointer link, gpointer obj, int index)
+{
+}
+
 static void G_GNUC_UNUSED
 sgen_client_binary_protocol_empty (gpointer start, size_t size)
 {
@@ -558,6 +638,16 @@ sgen_client_binary_protocol_domain_unload_end (gpointer domain)
 {
 }
 
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_gray_enqueue (gpointer queue, gpointer cursor, gpointer value)
+{
+}
+
+static void G_GNUC_UNUSED
+sgen_client_binary_protocol_gray_dequeue (gpointer queue, gpointer cursor, gpointer value)
+{
+}
+
 int sgen_thread_handshake (BOOL suspend);
 gboolean sgen_suspend_thread (SgenThreadInfo *info);
 gboolean sgen_resume_thread (SgenThreadInfo *info);