< prev index next >
src/share/vm/memory/metaspace.cpp
Print this page
rev 13166 : 8183228: Fix optimized build after JDK-8170933
Reviewed-by:
@@ -4104,10 +4104,14 @@
ChunkIndex index = manager.list_index(ClassMediumChunk + 1);
assert(index == HumongousIndex, "Wrong index returned. Got index: %d", (int)index);
}
}
+#endif // !PRODUCT
+
+#ifdef ASSERT
+
// ChunkManagerReturnTest stresses taking/returning chunks from the ChunkManager. It takes and
// returns chunks from/to the ChunkManager while keeping track of the expected ChunkManager
// content.
class ChunkManagerReturnTestImpl {
@@ -4413,6 +4417,6 @@
void SpaceManager_test_adjust_initial_chunk_size() {
SpaceManagerTest::test_adjust_initial_chunk_size();
}
-#endif
+#endif // ASSERT
< prev index next >