We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bfbe31 commit 81806b7Copy full SHA for 81806b7
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/HeapSummary.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -293,6 +293,8 @@ private long getFlagValue(String name, Map flagMap) {
293
if (f != null) {
294
if (f.isBool()) {
295
return f.getBool()? 1L : 0L;
296
+ } else if (f.isUIntx() || f.isSizet() || f.isUint64t()) {
297
+ return Long.parseUnsignedLong(f.getValue());
298
} else {
299
return Long.parseLong(f.getValue());
300
}
0 commit comments