S
S
Sasha_882017-05-12 11:58:45
.NET
Sasha_88, 2017-05-12 11:58:45

What garbage collector is used in Net Native?

It is clear that without the collector nowhere. In c#, objects of a reference type are used and you do not need to delete them yourself. There is simply no delete. And even if everything is compiled into machine codes there and the code does not depend on the CLR and Net Framework (net classes are built in), then the runtime environment is also built in. For example, the il2cpp project in Unity or the Go language. There, when compiling, the file is linked to the execution environment. That is, with respect to the operating system, a purely unmanaged code is obtained, but logically it contains this very environment and the garbage collector, respectively. I just wanted to know this collector is the same technology and performance that is currently used in the CLR. Or did they make a new one? Does it also work with stopping threads? And can it be configured? For example, call GC.Collect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
denismaster, 2017-07-20
@denismaster

https://github.com/dotnet/corert
I think here you can find out in detail about all aspects of .NET Native and AOT compilation for .NET, and about the GC implementation - here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question