8251835: JDK-8251374 breaks jmap -dump:all
Reviewed-by: phh, sspitsyn
This commit is contained in:
parent
2631422bc5
commit
5d9c1e45dc
@ -212,7 +212,9 @@ public class JMap {
|
||||
|
||||
for (int i = 0; i < subopts.length; i++) {
|
||||
String subopt = subopts[i];
|
||||
if (subopt.equals("live")) {
|
||||
if (subopt.equals("") || subopt.equals("all")) {
|
||||
// pass
|
||||
} else if (subopt.equals("live")) {
|
||||
liveopt = "-live";
|
||||
} else if (subopt.startsWith("file=")) {
|
||||
filename = parseFileName(subopt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user