equal
deleted
inserted
replaced
199 const char* scale = current_scale(); |
199 const char* scale = current_scale(); |
200 size_t committed = MetaspaceUtils::committed_bytes(type); |
200 size_t committed = MetaspaceUtils::committed_bytes(type); |
201 size_t used = MetaspaceUtils::used_bytes(type); |
201 size_t used = MetaspaceUtils::used_bytes(type); |
202 size_t free = (MetaspaceUtils::capacity_bytes(type) - used) |
202 size_t free = (MetaspaceUtils::capacity_bytes(type) - used) |
203 + MetaspaceUtils::free_chunks_total_bytes(type) |
203 + MetaspaceUtils::free_chunks_total_bytes(type) |
204 + MetaspaceUtils::free_bytes(type); |
204 + MetaspaceUtils::free_in_vs_bytes(type); |
205 |
205 |
206 assert(committed >= used + free, "Sanity"); |
206 assert(committed >= used + free, "Sanity"); |
207 size_t waste = committed - (used + free); |
207 size_t waste = committed - (used + free); |
208 |
208 |
209 out->print_cr("%27s ( %s)", " ", name); |
209 out->print_cr("%27s ( %s)", " ", name); |