Skip to content

Support filtering ObjectAllocated callback for pinned object heap allocation only - #55448

Merged
cshung merged 6 commits into
dotnet:mainfrom
Yauk:private/20210608_prototype-allocation-profiler
Jul 10, 2021
Merged

Support filtering ObjectAllocated callback for pinned object heap allocation only#55448
cshung merged 6 commits into
dotnet:mainfrom
Yauk:private/20210608_prototype-allocation-profiler

Conversation

@Yauk

@YaukYauk commented Jul 10, 2021

Copy link
Copy Markdown
Contributor

Fixes#53134

In ICorProfiler, we can have the runtime to notify the profiler when an object is allocated on the large object heap only. We should have a similar option for the pinned object heap. This PR is to fill this gap and add support ObjectAllocated callback for pinned object heap allocation.

@ghost

Copy link
Copy Markdown

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

Issue Details

In ICorProfiler, we can have the runtime to notify the profiler when an object is allocated on the large object heap only. We should have a similar option for the pinned object heap. This PR is to fill this gap and add support ObjectAllocated callback for pinned object heap allocation.

Author:Yauk
Assignees:-
Labels:

area-Diagnostics-coreclr

Milestone:-

@dnfadmin

dnfadmin commented Jul 10, 2021

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@cshung
cshung requested a review from davmasonJuly 10, 2021 05:17

@davmasondavmason left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@cshungcshung changed the title Private/20210608 prototype allocation profilerSupport filtering ObjectAllocated callback for pinned object heap allocation onlyJul 10, 2021
@cshung
cshung merged commit fce412b into dotnet:mainJul 10, 2021
@ghostghost locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for freeto 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.

Support filtering ObjectAllocated callback for pinned object heap allocation only

4 participants

@Yauk@dnfadmin@davmason@cshung