Flip sign bit of release memory trace event

Flip sign bit of release memory trace event to be inline with the other uses of delta in trace.go
This commit is contained in:
Marco Munizaga 2022-06-20 15:10:07 -07:00 committed by GitHub
parent a18fe790bf
commit fd5de7a9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,7 +394,7 @@ func (t *trace) ReleaseMemory(scope string, size, mem int64) {
t.push(TraceEvt{
Type: traceReleaseMemoryEvt,
Name: scope,
Delta: size,
Delta: -size,
Memory: mem,
})
}