Skip to content

Commit

Permalink
[mono][ios] Call mono_gc_init_finalizer_thread to allow gc thread cre…
Browse files Browse the repository at this point in the history
…ation (#91785)

* Invoke mono_gc_init_finalizer_thread from the embedder to create the finalizer thread

* Enable runtime test
  • Loading branch information
kotlarmilos authored Sep 8, 2023
1 parent ce6c4d1 commit f61caf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/tasks/AppleAppBuilder/Templates/runtime.m
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,7 @@ static bool is_pinvoke_override_library (const char* libraryName)
MonoDomain *domain = mono_jit_init_version ("dotnet.ios", "mobile");
assert (domain);

#if !FORCE_INTERPRETER && (!TARGET_OS_SIMULATOR || FORCE_AOT)
// device runtimes are configured to use lazy gc thread creation
mono_gc_init_finalizer_thread ();
#endif

MonoAssembly *assembly = load_assembly (executable, NULL);
assert (assembly);
Expand Down
3 changes: 0 additions & 3 deletions src/tests/issues.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3699,9 +3699,6 @@
<ExcludeList Include="$(XunitTestBinBase)/GC/Regressions/v2.0-beta1/149926/149926/*">
<Issue>needs triage</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/tracing/eventpipe/gcdump/**">
<Issue>https://github.com/dotnet/runtime/issues/90012</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/Loader/CustomAttributes/**">
<Issue>Dynamic code generation is not supported on this platform</Issue>
</ExcludeList>
Expand Down

0 comments on commit f61caf4

Please sign in to comment.