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

Baoyi Chen (Jira) issues at jboss.org
Mon Apr 20 04:35:00 EDT 2020


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

Baoyi Chen commented on JGRP-2466:
----------------------------------

additional class:method
UNICAST3:createReceiverEntry
UNICAST3:getReceiverEntry

> 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