8163185: jhsdb jstack cannot work with normal mode

Reviewed-by: dsamersoff, dholmes
This commit is contained in:
Yasumasa Suenaga 2016-08-09 21:57:29 +09:00
parent dba428fb92
commit d68c6f28d4

View File

@ -255,7 +255,8 @@ public class SALauncher {
}
buildAttachArgs(newArgs, pid, exe, core, false);
JStack.main(newArgs.toArray(new String[newArgs.size()]));
JStack jstack = new JStack(false, false);
jstack.runWithArgs(newArgs.toArray(new String[newArgs.size()]));
}
private static void runJMAP(String[] oldArgs) {