|
Blocks :
|
The following code in Metaspace::should_expand:
if (!FLAG_IS_DEFAULT(MaxMetaspaceSize)) {
size_t real_allocated = Metaspace::space_list()->reserved_words() +
MetaspaceAux::allocated_capacity_bytes(Metaspace::ClassType);
if (real_allocated >= MaxMetaspaceSize) {
return false;
}
doesn't convert Metaspace::space_list()->reserved_words() to bytes, as it should.
|