Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fix a issue where ETW was losing RCW and CCW in heap dumps. #7971

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

vancem
Copy link

@vancem vancem commented Nov 3, 2016

Basically our builk events for RCWs and CCWs were too big, causing ETW to reject them, and thus losing information.

However you have to have at least several hundred befor you have enough to force the problem.

I have an ad-hoc test case that confirms the fix works.

The fix is trivial. Lower the cutoff used to determine how many bulk items will be placed in a single ETW event.

@brianrob @daklimek

Basically our builk events for RCWs and CCWs were too big, causing ETW to reject them, and thus losing information.

However you have to have at least several hundred befor you have enough to force the problem.
Copy link
Member

@brianrob brianrob left a comment

Choose a reason for hiding this comment

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

LGTM

@vancem vancem merged commit a9b6991 into dotnet:master Nov 3, 2016
@vancem vancem deleted the HeapDumpLostEventFix.11-03-16 branch November 3, 2016 20:38
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants