# HG changeset patch # User stuefe # Date 1498732530 -7200 # Node ID f63ae85597f1d24b00c0dad72f815cc8684e0edb # Parent f1c04490ded12b2bfed1a111d4f268cddf289c18 8183228: Fix optimized build after JDK-8170933 Reviewed-by: mgerdin, coleenp diff -r f1c04490ded1 -r f63ae85597f1 hotspot/src/share/vm/memory/metaspace.cpp --- 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