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

Unused array allocation in ProcessPath.doProcessPath

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: