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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 4.0
    • None
    • None

      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.

            rhn-engineering-bban Bela Ban
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: