changeset 47544:56fa7dfd11cd

Merge
author coleenp
date Tue, 26 Sep 2017 21:12:39 +0000
parents 145c22608e8d 198cb8e20aef
children b741e818a8ac
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/memory/metaspace.cpp	Tue Sep 26 19:53:07 2017 +0000
+++ b/src/hotspot/share/memory/metaspace.cpp	Tue Sep 26 21:12:39 2017 +0000
@@ -1291,7 +1291,7 @@
 }
 
 size_t VirtualSpaceList::free_bytes() {
-  return virtual_space_list()->free_words_in_vs() * BytesPerWord;
+  return current_virtual_space()->free_words_in_vs() * BytesPerWord;
 }
 
 // Allocate another meta virtual space and add it to the list.