[ 
https://issues.apache.org/jira/browse/HDDS-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894172#comment-16894172
 ] 

Eric Yang commented on HDDS-1833:
---------------------------------

[~swagle] Sorry, I don't think that is true.  

>From [Java 
>spec|https://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.4]:

{quote}
Example 15.12.4.1-2. Evaluation Order During Method Invocation

As part of an instance method invocation (ยง15.12), there is an expression that 
denotes the object to be invoked. This expression appears to be fully evaluated 
before any part of any argument expression to the method invocation is 
evaluated.{quote}

ExceptionUtils.getStackTrace() is fully evaluated before trace method 
invocation.

> RefCountedDB printing of stacktrace should be moved to trace logging
> --------------------------------------------------------------------
>
>                 Key: HDDS-1833
>                 URL: https://issues.apache.org/jira/browse/HDDS-1833
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.4.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Siddharth Wagle
>            Priority: Major
>              Labels: newbie
>         Attachments: HDDS-1833.01.patch, HDDS-1833.02.patch, 
> HDDS-1833.03.patch
>
>
> RefCountedDB logs the stackTrace for both increment and decrement, this 
> pollutes the logs.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to