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
It looks like it would be possible to allow applications to keep track of their memory usage by application-specific categories using the following approach:
The application calls a tcmalloc extension function that sets a thread-local "tracking tag" (let's say an int32 or int64).
Malloc calls use the current value of the tracking tag and propagate it to page heap allocation functions. The span metadata records get tagged with the tracking tag.
Through another new tcmalloc extension function, the application can request page-level statistics by the app-specific tag.
The text was updated successfully, but these errors were encountered:
It looks like it would be possible to allow applications to keep track of their memory usage by application-specific categories using the following approach:
The text was updated successfully, but these errors were encountered: