Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup some FEATURE_... ifdefs in the GC #103200

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Cleanup some FEATURE_... ifdefs in the GC #103200

merged 1 commit into from
Jun 11, 2024

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jun 8, 2024

Fixes #103198

// Currently there is no way for us to specific the numa node to allocate on via hosting interfaces to
// a host. This will need to be added later.
#if !defined(FEATURE_CORECLR) && !defined(BUILD_AS_STANDALONE)
if (!CLRMemoryHosted())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that it is ok to delete this last bit of .NET Framework hosting support

@jkotas
Copy link
Member Author

jkotas commented Jun 8, 2024

FEATURE_NATIVEAOT ifdefs in the GC are anti-pattern that causes problems. This is another baby steps towards getting rid of them.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

@LakshanF LakshanF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The allocation tick event (Microsoft-Windows-DotNETRuntime/GC/AllocationTick) can now be seen in a native AOT application via PerfView and dotnet-trace.

@jkotas jkotas merged commit c897ce6 into dotnet:main Jun 11, 2024
89 checks passed
@jkotas jkotas deleted the ifdefs branch June 11, 2024 03:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AllocationTick event is missing on NativeAOT
2 participants