--- a/hotspot/src/share/vm/memory/metaspace.cpp Thu Jun 29 17:32:46 2017 +0000
+++ b/hotspot/src/share/vm/memory/metaspace.cpp Thu Jun 29 19:09:04 2017 +0000
@@ -4106,6 +4106,10 @@
}
}
+#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.
@@ -4415,4 +4419,4 @@
SpaceManagerTest::test_adjust_initial_chunk_size();
}
-#endif
+#endif // ASSERT