[
https://issues.apache.org/jira/browse/BOOKKEEPER-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998339#comment-15998339
]
Hudson commented on BOOKKEEPER-1046:
------------------------------------
FAILURE: Integrated in Jenkins build bookkeeper-master #1738 (See
[https://builds.apache.org/job/bookkeeper-master/1738/])
BOOKKEEPER-1046: Avoid long to Long conversion in OrderedSafeExecutor
(eolivelli: rev 25c113f62a40bff6ff91cf82f699fd1d35b102fb)
* (edit)
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/OrderedSafeExecutor.java
> Avoid long to Long conversion in OrderedSafeExecutor task submit
> ----------------------------------------------------------------
>
> Key: BOOKKEEPER-1046
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1046
> Project: Bookkeeper
> Issue Type: Improvement
> Reporter: Matteo Merli
> Assignee: Matteo Merli
> Priority: Trivial
> Fix For: 4.5.0
>
>
> When submitting tasks to an OrderedSafeExecutor, most of the time a ledger id
> is being passed. Given that the method accepts and Object, the primitive long
> is boxed into a Long allocated on the heap.
> Added specific method overload to directly accept longs as the key in the
> OrderedSafeExecutor.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)