Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303690

Prefer ArrayList to LinkedList in com.sun.jmx.mbeanserver.Introspector

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • None
    • core-svc

      LinkedList is used as value in com.sun.jmx.mbeanserver.Introspector.SimpleIntrospector#cache
      It's created, filled (with 'add') and then iterated. No removes from the head or something like this. ArrayList should be preferred as more efficient and widely used collection.

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

              Created:
              Updated:
              Resolved: