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

Unused array allocation in ProcessPath.doProcessPath

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 21
    • None
    • client-libs
    • 2d
    • b06

    Description

      Method sun.java2d.loops.ProcessPath#doProcessPath allocates float array and then do not use it

         float[] firstCoord = new float[2];

      I don't see this array in src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c too. We can drop it.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: