Prefer ArrayList to LinkedList in ConcurrentLocksPrinter

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: hotspot
    • b13

      LinkedList is used as value in sun.jvm.hotspot.runtime.ConcurrentLocksPrinter#locksMap Map.
      There is only add/iterator calls on this lists. No removes from the head or something like this. ArrayList should be preferred as more efficient and widely used collection.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: