Dottrace Dead vs. Garbage

Posted by Moshe on Stack Overflow See other posts from Stack Overflow or by Moshe
Published on 2010-04-25T13:28:59Z Indexed on 2010/04/25 13:33 UTC
Read the original article Hit count: 314

Filed under:
|
|
|

After reading the dottrace documentation I realized that:

  1. Dead objects are objects deleted before the end point of the snapshot.
  2. Garbage objects are objects allocated after the starting point and deleted before the end point - in other words, "Garbage objects" is a subset of "Dead objects".

But after doing some profiling sessions, I could see that sometimes the number of "Garbage objects" is by far greater than the number of "Dead objects" of the same class (for example System.String). How should I interpret this phenomenon?

© Stack Overflow or respective owner

Related posts about dottrace

Related posts about profiling