changeset 49980 | 57dd7b4ba338 |
parent 49968 | 33a76b934213 |
child 54292 | c31faeacf00a |
--- a/src/hotspot/share/services/virtualMemoryTracker.cpp Thu May 03 17:36:25 2018 -0700 +++ b/src/hotspot/share/services/virtualMemoryTracker.cpp Tue Apr 24 18:06:32 2018 +0200 @@ -617,7 +617,7 @@ size_t free_in_bytes = (MetaspaceUtils::capacity_bytes(type) - MetaspaceUtils::used_bytes(type)) + MetaspaceUtils::free_chunks_total_bytes(type) - + MetaspaceUtils::free_bytes(type); + + MetaspaceUtils::free_in_vs_bytes(type); mss._free_in_bytes[type] = free_in_bytes; }