Have you guys met below problem, what's you investigation?
After issued a command of "kill -9 pid" using Runtime, it is not 100% reprocuced
try {
Process process = Runtime.getRuntime().exec("/bin/kill -9 " + pid);
int value = process.waitFor();
//hang here, and CPU is high , almost 100%
...
}
configurations:
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
SunOS 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V240