Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2195879 | 7-pool | Unassigned | P2 | Closed | Duplicate |
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.
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.
- backported by
-
JDK-2195879 (process) Runtime.exec() call on Solaris/SPARC is 3-4 slower than on Java 5.
-
- Closed
-
- duplicates
-
JDK-6974813 JVM needs to use demand loading for its DTrace probes
-
- Closed
-
- relates to
-
JDK-6944584 Improvements to subprocess handling on Unix
-
- Closed
-