Github user mtaylor commented on the pull request:
https://github.com/apache/activemq-artemis/pull/494#issuecomment-215414168
@clebertsuconic I see what you are trying to achieve here. But, the JIT
compiler would likely remove any string creation and method calls after it
realises that the branch is never reached. Do you have any benchmark/test you
are using to see if this makes any form of performance increase? I think it's
worth investigating before we start polluting the code with all these,
if(isTrace) statements.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---