--- old/src/share/vm/memory/metaspace.cpp 2017-09-07 12:38:44.311733663 -0400 +++ new/src/share/vm/memory/metaspace.cpp 2017-09-07 12:38:44.253733828 -0400 @@ -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.