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

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

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: