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

[docs] Medium-weight GC profiling option in Profiler API #12539

Open
mjsabby opened this issue Apr 20, 2019 · 7 comments
Open

[docs] Medium-weight GC profiling option in Profiler API #12539

mjsabby opened this issue Apr 20, 2019 · 7 comments
Assignees
Labels
area-Diagnostics-coreclr documentation Documentation bug or enhancement, does not impact product or test code
Milestone

Comments

@mjsabby
Copy link
Contributor

mjsabby commented Apr 20, 2019

Creating an issue based on the discussion in dotnet/coreclr#22866

There are currently two profiling modes checked in to .NET Core:

(1) Full GC Profiling - Expensive but exhaustive
(2) Basic GC Profiling - Very efficient but somewhat lacking for some types of analysis

This issue is there to introduce a third mode which is somewhere in between the Full and Basic.

The goal of this middle ground mode is to provide everything basic profiling provides and the most important aspect of the full profiling capability which is the ability to track objects after a GC moves them.

In fact, coupled with an additional Profiler API (https://github.com/dotnet/coreclr/issues/24155), the Full GC profiling capability can be emulated by the profiler if it is so chooses at the cost of additional complexity on the profiler side.

Summarily, this mode will enable the MovedReferences2 profiler callback to be called for compacting garbage collections, but skip SurvivedReferences2 for non-compatcing garbage collections.

@mjsabby
Copy link
Contributor Author

mjsabby commented Apr 20, 2019

cc @Maoni0

@tommcdon
Copy link
Member

@mjsabby are you interested in doing this work for 3.0?
cc @noahfalk @davmason

@mjsabby
Copy link
Contributor Author

mjsabby commented Apr 25, 2019

@tommcdon yeah, I already did so I’ll close this.

@mjsabby mjsabby closed this as completed Apr 25, 2019
@tommcdon
Copy link
Member

@mjsabby thanks!

@noahfalk noahfalk reopened this Apr 25, 2019
@noahfalk
Copy link
Member

I'm re-opening this issue until docs are in place.

@tommcdon
Copy link
Member

@mjsabby just a kind reminder to add the appropriate documentation for this feature

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@ghost
Copy link

ghost commented Dec 17, 2023

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of our issue cleanup automation.

@ghost ghost added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels Dec 17, 2023
@jkotas jkotas added the documentation Documentation bug or enhancement, does not impact product or test code label Dec 17, 2023
@ghost ghost removed no-recent-activity backlog-cleanup-candidate An inactive issue that has been marked for automated closure. labels Dec 17, 2023
@jkotas jkotas changed the title Medium-weight GC profiling option in Profiler API [docs] Medium-weight GC profiling option in Profiler API Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Diagnostics-coreclr documentation Documentation bug or enhancement, does not impact product or test code
Projects
None yet
Development

No branches or pull requests

5 participants