Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2044

RequestCorrelator causes frequent boxing and autoboxing by using a Map<Long,Request>

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              belaban Bela Ban
              Reporter:
              sannegrinovero Sanne Grinovero
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: