< prev index next >
test/hotspot/gtest/memory/test_chunkManager.cpp
Print this page
rev 57511 : [mq]: metaspace-improvement
*** 23,32 ****
--- 23,34 ----
#include "precompiled.hpp"
#include "memory/metaspace/chunkManager.hpp"
#include "memory/metaspace/metaspaceCommon.hpp"
+ #if 0
+
// The test function is only available in debug builds
#ifdef ASSERT
#include "unittest.hpp"
*** 63,69 ****
ASSERT_TRUE(manager.list_index(MediumChunk) == MediumIndex);
ASSERT_TRUE(manager.list_index(MediumChunk + SpecializedChunk) == HumongousIndex);
}
}
!
#endif // ASSERT
--- 65,71 ----
ASSERT_TRUE(manager.list_index(MediumChunk) == MediumIndex);
ASSERT_TRUE(manager.list_index(MediumChunk + SpecializedChunk) == HumongousIndex);
}
}
! #endif
#endif // ASSERT
< prev index next >