impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5715: (mitigation only) defer destruction of MemTrackers
Date Fri, 04 Aug 2017 00:47:26 GMT
Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-5715: (mitigation only) defer destruction of MemTrackers

Patch Set 3: Code-Review+1


Looks good to me. Lets see if Michael wants to take another look.
File be/src/runtime/

PS2, Line 200: Various backend tests do not 
> Lots of backend tests rely on the destructor cleaning these up. It's a pret
Ah right, thanks.
File be/src/runtime/mem-tracker.h:

PS2, Line 105:   /// Closes the MemTracker and deregisters it from its parent. Can be called
             :   /// destruction to prevent other threads from getting a reference to the
             :   /// via its par
> I'm not sure if I understood the exact suggestion. I combined this with Clo
Yup works for me, thanks
File be/src/runtime/

Line 260: void RuntimeState::ReleaseResources() {
> I think it's mostly depended on what was simpler in context - in a lot of p
Yeah, makes sense. I think it'd be easier to reason about if it were consistent but that's
not really something that would need to be addressed now.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I205abb0076d1ffd08cb93c0f1671c8b81e7fba0f
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Henry Robinson <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message