Uh oh!
There was an error while loading. Please reload this page.
#ifdef out code that requires FEATURE_EVENT_TRACE - #91895
Conversation
ghost
commented
Sep 11, 2023
Tagging subscribers to this area: @dotnet/gc Issue DetailsThis PR follows #90847 and removes some more code when FEATURE_EVENT_TRACE is not defined. Surfaced as part of dotnet/runtimelab#2396 Not sure about the cc @EgorBo Thanks
|
EgorBo
commented
Sep 11, 2023
LGTM, but leaving for @dotnet/gc to approve/merge |
Maoni0
commented
Sep 11, 2023
you should not remove the methods as GC is still expecting to call them. for the changed related to the |
The one in We can also just remove the assert - it doesn't add a lot of value |
yowl
commented
Sep 11, 2023
I have no preference here. |
yowl
commented
Sep 27, 2023
Sorry I closed this by mistake.
I've gone ahead and just removed the assert so |
EgorBo
left a comment
There was a problem hiding this comment.
LGTM, but leaving for @dotnet/gc to review/merge
mangod9
commented
Oct 23, 2023
@cshung, can you please review and merge? |
TheSpydog
commented
Nov 14, 2023
Is this fix going to be merged into a .NET 8.x release? For our game console ports of NativeAOT, we do not enable FEATURE_EVENT_TRACE, so we’re running into compile errors when upgrading our runtime support to .NET 8. |
jkotas
commented
Nov 14, 2023
/backport to release/8.0-staging |
Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/6867071751 |
We will take it for consideration. We do not typically backport fixes for custom configuration like this one, but I think we can make an exception for this one given that it is a regression from .NET 7, it is shortly after release and the fix is very low risk. |
This PR follows #90847 and removes some more code when FEATURE_EVENT_TRACE is not defined. Surfaced as part of dotnet/runtimelab#2396
Not sure about the
gcrhenv.cppchange. Maybe I should be removing all theDiagGC*methods and#ifdefing their usages ?cc @EgorBo
Thanks