mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
include Thread::backupHeapIndex in heap footprint calculation
This commit is contained in:
parent
b1f24079ec
commit
e31f795661
@ -168,7 +168,7 @@ killZombies(Thread* t, Thread* o)
|
||||
unsigned
|
||||
footprint(Thread* t)
|
||||
{
|
||||
unsigned n = t->heapOffset + t->heapIndex;
|
||||
unsigned n = t->heapOffset + t->heapIndex + t->backupHeapIndex;
|
||||
|
||||
for (Thread* c = t->child; c; c = c->peer) {
|
||||
n += footprint(c);
|
||||
|
Loading…
Reference in New Issue
Block a user