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.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 6-pool
    • 6u21
    • core-libs
    • sparc
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: