[infinispan-issues] [JBoss JIRA] (ISPN-6003) Reduce number of allocations

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Dec 15 10:02:00 EST 2015


    [ https://issues.jboss.org/browse/ISPN-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141348#comment-13141348 ] 

RH Bugzilla Integration commented on ISPN-6003:
-----------------------------------------------

Dan Berindei <dberinde at redhat.com> changed the Status of [bug 1272390|https://bugzilla.redhat.com/show_bug.cgi?id=1272390] from ASSIGNED to POST

> Reduce number of allocations
> ----------------------------
>
>                 Key: ISPN-6003
>                 URL: https://issues.jboss.org/browse/ISPN-6003
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core, Server
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>              Labels: performance
>             Fix For: 8.1.0.Final
>
>
> Profiling revealed some allocations that are easy to remove:
> * The HotRod operations factory stores a list of flags in a thread-local. The thread-local can be removed, and the flags can be stored in an {{int}}.
> * JGroupsTransport copies the list of members to check if a broadcast should be sent as a unicast, and the copy is then discarded.
> * ExtendedByteBuf could use {{Array.empty}} instead of {{Array[Byte]()}}.
> * DecoratedCache could avoid calling {{Arrays.asList()}}.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list