#include "mono/utils/mono-compiler.h"
-extern long long stat_copy_object_called_nursery;
-extern long long stat_objects_copied_nursery;
+extern guint64 stat_copy_object_called_nursery;
+extern guint64 stat_objects_copied_nursery;
-extern long long stat_nursery_copy_object_failed_from_space;
-extern long long stat_nursery_copy_object_failed_forwarded;
-extern long long stat_nursery_copy_object_failed_pinned;
+extern guint64 stat_nursery_copy_object_failed_from_space;
+extern guint64 stat_nursery_copy_object_failed_forwarded;
+extern guint64 stat_nursery_copy_object_failed_pinned;
-extern long long stat_slots_allocated_in_vain;
+extern guint64 stat_slots_allocated_in_vain;
/*
* Copies an object and enqueues it if a queue is given.
return obj;
}
-#ifdef SGEN_MARK_ON_ENQUEUE
if (!has_references)
queue = NULL;
-#endif
+
par_copy_object_no_checks (destination, vt, obj, objsize, queue);
/* FIXME: mark mod union cards if necessary */