[ 
https://issues.apache.org/jira/browse/IMPALA-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong updated IMPALA-3476:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> Use new with nothrow where appropriate
> --------------------------------------
>
>                 Key: IMPALA-3476
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3476
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 2.6.0
>            Reporter: Tim Armstrong
>            Priority: Minor
>              Labels: resource-management
>
> In many places in the code, we use C++ new, which throws an exception on 
> failure. We should instead use the nothrow variant of new where possible, 
> especially for large allocations. This returns NULL instead of throwing an 
> exception.
> http://www.cplusplus.com/reference/new/nothrow/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to