You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this when looking at a profile and was curious why there were 3
MB of allocations of the StaticLogMessage type.
LogMessage.Free sets _message to null before calling FreeCore, thus
StaticLogMessage.FreeCore was never adding items back to it's pool. The
ordering of LogMessage setting _message to null and calling FreeCore is
important, so that can't be changed. Instead, add a flag to
StaticLogMessage to indicate whether it's in a constructed state or not.

0 commit comments