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

Use Class.getInterfaces(false) where possible to reduce allocation pressure

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • core-libs
    • None
    • b22

      Class.getInterfaces(false) does not clone underlying array and can be used in cases when the returned array is only read from.

            stsypanov Sergey Tsypanov
            stsypanov Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: