Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@

<!-- domain.c: mono_defaults.object_class -->
<type fullname="System.Object">
<!-- class.c: initialize_object_slots -->
<!-- class.c: initialize_object_slots -->
<method name="Finalize" />
<method name="GetHashCode" />
</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace System
{
public partial class Object
{
// NOOP comment change
[Intrinsic]
public Type GetType() => GetType();

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ mono_gc_run_finalize (void *obj, void *data)
/*
* To avoid the locking plus the other overhead of mono_runtime_invoke_checked (),
* create and precompile a wrapper which calls the finalize method using
* a CALLVIRT.
* a CALLVIRT
*/
if (mono_log_finalizers)
g_log ("mono-gc-finalizers", G_LOG_LEVEL_MESSAGE, "<%s at %p> Compiling finalizer.", o_name, o);
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/aot-compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -4976,7 +4976,7 @@ add_full_aot_wrappers (MonoAotCompile *acfg)
csig->params [2] = m_class_get_byval_arg (mono_defaults.boolean_class);
add_method (acfg, get_runtime_invoke_sig (csig));

/* runtime-invoke used by finalizers */
/* runtime-invoke used by finalizers */
add_method (acfg, get_runtime_invoke (acfg, get_method_nofail (mono_defaults.object_class, "Finalize", 0, 0), TRUE));

/* This is used by mono_runtime_capture_context () */
Expand Down
Loading