dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.44k stars 4.76k forks source link

[Local GC] Local GC Feature Meta-Issue #8061

Open swgillespie opened 7 years ago

swgillespie commented 7 years ago

This issue tracks all of the sub-issues related to Local GC on CoreCLR.

The current status of Local GC on CoreCLR:

  1. With the FEATURE_STANDALONE_GC feature define, the VM can build such that it is capable of loading and running a standalone GC.
  2. With the FEATURE_STANDALONE_GC_ONLY CMake feature define, the VM builds and links directly against a standalone GC.
  3. The GC currently does not link when built as a shared library, but is very close.

Here's the list of known work items for getting a standalone GC off the ground and running (required for bare-minimum functionality):

This will allow a standalone GC to link as a shared library. From there we can begin testing our basic GC scenarios.

More advanced GC functionality (and performance) work items, required for shipping this feature but not for basic functionality:

These issues are for CLR developer diagnostics only and are not necessary for feature correctness or performance:

swgillespie commented 7 years ago

Update:

The GC does build as a shared library now and is mostly functional, pending a few bug fixes. The remaining work is to ensure that the GC can build without FEATURE_REDHAWK and that all diagnostics retain feature parity with a non-local GC. All of this must be done without regressing the performance or correctness of non-standalone GCs.

swgillespie commented 7 years ago

Tracking remaining issues:

cc @sergiy-k

swgillespie commented 7 years ago

Project is also updated: https://github.com/dotnet/coreclr/projects/3

4creators commented 6 years ago

@swgillespie Seems that current status of Local GC project is more advanced than this issue indicates. Could it be possible to update this issue and project docs?

teo-tsirpanis commented 1 year ago

@dotnet/gc all linked issues in the OP are closed. Can we close this?

SzpejnaDawid commented 2 months ago

@Maoni0 Hey, can I ask if using my own GC via DOTNET_GCPath is functional and is there any documentation describing how to create a custom GC? Thx for answer