1.1 --- a/src/share/vm/memory/metaspace.cpp Fri Oct 06 22:40:31 2017 -0400 1.2 +++ b/src/share/vm/memory/metaspace.cpp Wed Sep 20 20:54:29 2017 -0400 1.3 @@ -1200,7 +1200,7 @@ 1.4 } 1.5 1.6 size_t VirtualSpaceList::free_bytes() { 1.7 - return virtual_space_list()->free_words_in_vs() * BytesPerWord; 1.8 + return current_virtual_space()->free_words_in_vs() * BytesPerWord; 1.9 } 1.10 1.11 // Allocate another meta virtual space and add it to the list.