[
https://issues.redhat.com/browse/JGRP-2466?page=com.atlassian.jira.plugin...
]
Bela Ban commented on JGRP-2466:
--------------------------------
These methods are not called frequently, therefore I don't think an {{if(if_trace)}}
is needed.
add isTraceEnabled() when log.trace
-----------------------------------
Key: JGRP-2466
URL:
https://issues.redhat.com/browse/JGRP-2466
Project: JGroups
Issue Type: Enhancement
Affects Versions: 4.2.2
Reporter: Baoyi Chen
Assignee: Bela Ban
Priority: Minor
Attachments: alloc.svg
we use [
async-profiler|https://github.com/jvm-profiling-tools/async-profiler] to
profiling our project's temporary object allocation. found that jrgoups log.trace take
up a certain amount of memory space. more details please refer the attachment. could we
add isTraceEnabled() condition when print the trace log? that could be improve the
temporary object allocation
--
This message was sent by Atlassian Jira
(v7.13.8#713008)