Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.10.0
-
None
-
ghx-label-3
Description
It's very unclear what requirements there are around object lifetimes for RuntimeProfile objects and the Counter objects that live in ObjectPools. See IMPALA-5878 for a case where it's very hard to reason about correctness of the memory management.
We should document the requirements and also consider simplifying the ownership model. E.g. having each RuntimeProfile own all of its counters via unique_ptrs.
Attachments
Issue Links
- is duplicated by
-
IMPALA-4802 Fix lifecycle of RuntimeProfile
- Resolved
- is related to
-
IMPALA-4802 Fix lifecycle of RuntimeProfile
- Resolved
- relates to
-
IMPALA-5878 Segmentation fault in libjvm.so!SafepointSynchronize::begin() [breakpad?]
- Resolved