< prev index next >

src/share/vm/memory/metaspace.cpp

Print this page
rev 13166 : 8183228: Fix optimized build after JDK-8170933
Reviewed-by:

*** 4104,4113 **** --- 4104,4117 ---- 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,4418 **** void SpaceManager_test_adjust_initial_chunk_size() { SpaceManagerTest::test_adjust_initial_chunk_size(); } ! #endif --- 4417,4422 ---- void SpaceManager_test_adjust_initial_chunk_size() { SpaceManagerTest::test_adjust_initial_chunk_size(); } ! #endif // ASSERT
< prev index next >