Skip to content

Commit

Permalink
8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612
Browse files Browse the repository at this point in the history
Backport-of: 49c91b7
  • Loading branch information
toshiogata authored and TheRealMDoerr committed Aug 28, 2023
1 parent 2bfbe31 commit 81806b7
Showing 1 changed file with 3 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -293,6 +293,8 @@ private long getFlagValue(String name, Map flagMap) {
if (f != null) {
if (f.isBool()) {
return f.getBool()? 1L : 0L;
} else if (f.isUIntx() || f.isSizet() || f.isUint64t()) {
return Long.parseUnsignedLong(f.getValue());
} else {
return Long.parseLong(f.getValue());
}
Expand Down

1 comment on commit 81806b7

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.