[jboss-jira] [JBoss JIRA] (JGRP-2466) add isTraceEnabled() when log.trace

Bela Ban (Jira) issues at jboss.org
Tue Apr 14 10:28:25 EDT 2020


    [ https://issues.redhat.com/browse/JGRP-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034679#comment-14034679 ] 

Bela Ban commented on JGRP-2466:
--------------------------------

Where exactly (class:method) do you see this? The attached SVG doesn't show this in any JGroups class!

> 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)


More information about the jboss-jira mailing list