8055012: [TESTBUG] NMTHelper fails to parse NMT output
Fixed the regular expression to parse the slightly changed output format of the new NMT implementation Reviewed-by: olagneau, sla
This commit is contained in:
parent
46c981faef
commit
482e4a8859
@ -32,8 +32,8 @@ public class NMTHelper
|
||||
executeDcmd("vmNativeMemory", "baseline");
|
||||
}
|
||||
|
||||
// Total: reserved=3484685KB +293KB, committed=266629KB +293KB
|
||||
private static Pattern totalLine = Pattern.compile("^Total: reserved=\\d+KB .*KB, committed=\\d+KB (.*)KB$");
|
||||
// Total: reserved=3484685KB +293KB, committed=266629KB +293KB
|
||||
private static Pattern totalLine = Pattern.compile("^Total: reserved=\\d+KB .*KB, committed=\\d+KB (.*)KB$");
|
||||
|
||||
public static long committedDiff() throws Exception {
|
||||
String res = (String) executeDcmd("vmNativeMemory", "detail.diff");
|
||||
|
Loading…
x
Reference in New Issue
Block a user