You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Michael Andre Pearce (IG) (JIRA)" <ji...@apache.org> on 2017/05/10 07:05:04 UTC

[jira] [Updated] (ARTEMIS-1156) Long Autoboxing occurring on Hot Path

     [ https://issues.apache.org/jira/browse/ARTEMIS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Andre Pearce (IG) updated ARTEMIS-1156:
-----------------------------------------------
    Attachment: Screen Shot 2017-05-10 at 02.05.47.png

java profiler showing journalimpl having the majority of Long Object creation and Long.valueof - autoboxing of the longs.

> Long Autoboxing occurring on Hot Path
> -------------------------------------
>
>                 Key: ARTEMIS-1156
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1156
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Michael Andre Pearce (IG)
>         Attachments: Screen Shot 2017-05-10 at 02.05.47.png
>
>
> JournalImpl is on the hot path, and whilst a lot of effort seems to have gone into ensuring the use of primitives, unfortunately due to java collections used it is forcing long id's to be auto boxed, this causes un-needed memory pressures. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)