< prev index next >

src/hotspot/share/memory/metaspace/metaspaceStatistics.cpp

Print this page
@@ -184,20 +184,16 @@
      print_scaled_words(st, _free_blocks_word_size, scale);
    }
  }
  
  #ifdef ASSERT
- 
  void ArenaStats::verify() const {
    size_t total_used = 0;
    for (chunklevel_t l = chunklevel::LOWEST_CHUNK_LEVEL; l <= chunklevel::HIGHEST_CHUNK_LEVEL; l++) {
      _stats[l].verify();
      total_used += _stats[l]._used_words;
    }
-   // Deallocated allocations still count as used
-   assert(total_used >= _free_blocks_word_size,
-          "Sanity");
  }
  #endif
  
  // Returns total arena statistics for both class and non-class metaspace
  ArenaStats ClmsStats::totals() const {
< prev index next >