changeset 46602:f63ae85597f1

8183228: Fix optimized build after JDK-8170933 Reviewed-by: mgerdin, coleenp
author stuefe
date Thu, 29 Jun 2017 12:35:30 +0200
parents f1c04490ded1
children ec4b3e8ef95b
files hotspot/src/share/vm/memory/metaspace.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/memory/metaspace.cpp	Wed Jun 28 19:12:58 2017 -0400
+++ b/hotspot/src/share/vm/memory/metaspace.cpp	Thu Jun 29 12:35:30 2017 +0200
@@ -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