Merge
authorcoleenp
Tue, 26 Sep 2017 21:12:39 +0000
changeset 47544 56fa7dfd11cd
parent 47542 145c22608e8d (current diff)
parent 47543 198cb8e20aef (diff)
child 47545 b741e818a8ac
Merge
--- 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.