[
https://issues.jboss.org/browse/JGRP-2044?page=com.atlassian.jira.plugin....
]
Sanne Grinovero updated JGRP-2044:
----------------------------------
Description:
The JFR profiler is highlighting a significant amount of boxing and autoboxing, as the
request is is treated as a {{long}} but this is used as an key for the
{{Map<Long,Request>}}.
We could try to either consistently use {{Long}} rather than {{long}}, or even better
figure out an optimal data structure to replace the implementation of the Map to not
require boxing of the keys.
was:
The JFR profiler is highlighting a significant amount of boxing and autoboxing, as the
request is is treated as a {{long}} but this is used as an key for the
{{Map<Long,Request>}}.
We could try to either consistently use {{Long}} rather than {{long}, or even better
figure out an optimal data structure to replace the implementation of the Map to not
require boxing of the keys.
RequestCorrelator causes frequent boxing and autoboxing by using a
Map<Long,Request>
------------------------------------------------------------------------------------
Key: JGRP-2044
URL:
https://issues.jboss.org/browse/JGRP-2044
Project: JGroups
Issue Type: Enhancement
Reporter: Sanne Grinovero
Assignee: Bela Ban
Priority: Minor
Fix For: 4.0
The JFR profiler is highlighting a significant amount of boxing and autoboxing, as the
request is is treated as a {{long}} but this is used as an key for the
{{Map<Long,Request>}}.
We could try to either consistently use {{Long}} rather than {{long}}, or even better
figure out an optimal data structure to replace the implementation of the Map to not
require boxing of the keys.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)