Skip to content

Instantly share code, notes, and snippets.

@Criteo-dotnet-blog
Created September 28, 2018 13:16
Show Gist options
  • Select an option

  • Save Criteo-dotnet-blog/71717b672f2e0c3b480fd4a814578d84 to your computer and use it in GitHub Desktop.

Select an option

Save Criteo-dotnet-blog/71717b672f2e0c3b480fd4a814578d84 to your computer and use it in GitHub Desktop.
private void OnTypeBulkType(GCBulkTypeTraceData data)
{
if (data.ProcessID != _processId)
return;
// keep track of the id/name type associations
for (int currentType = 0; currentType < data.Count; currentType++)
{
GCBulkTypeValues value = data.Values(currentType);
_types[value.TypeID] = value.TypeName;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment