Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.1
-
None
Description
In various places in BE's code there are checks like the one below that use the block_mgr_ only if this is set. This is because some tests do not setup the whole ExecEnv. But that adds complexity and branches. We should remove them, making sure that all tests have a properly setup environment (and DCHECK_NOTNULL(block_mgr_client_)).
if (block_mgr_client_ != NULL) {
state_->block_mgr()->ReleaseMemory(block_mgr_client_, old_size);
}
Attachments
Issue Links
- is a child of
-
IMPALA-2755 Clean up memory management in backend
- Resolved