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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 6-pool
    • Affects Version/s: 6u21
    • Component/s: core-libs
    • sparc
    • solaris

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: