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

(process) Runtime.exec() call on Solaris/SPARC is 3-4 slower than on Java 5.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6u21
    • Fix Version/s: 6-pool
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris

      Backports

        Description

        Runtime.exec() call on Solaris/SPARC is slow on Java 6 compared to Java 5.
        Do this in a loop

                   long begin = System.nanoTime();
                   final Process process = runtime.exec(cmdStr);
                   long diff = System.nanoTime() - begin;

        and compare diff on both Java 5 and Java 6 JREs.
        Wrt. the Runtime.exec() call, Java 6 is approx. 3-4 times slower on a SPARC system compared to Java 5 on a SPARC system. On x86-systems the Runtime.exec call from Java 6 is faster than on Java 5.

        Testprogram and Testresults are attached to this report.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dsamersoff Dmitriy Samersoff
                  Reporter:
                  jloefflm Johann Löfflmann (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: