hotspot/src/share/vm/memory/metaspace.cpp
changeset 46602 f63ae85597f1
parent 46587 6c97f34cb194
child 46618 d503911aa948
equal deleted inserted replaced
46589:f1c04490ded1 46602:f63ae85597f1
  4104     ChunkIndex index = manager.list_index(ClassMediumChunk + 1);
  4104     ChunkIndex index = manager.list_index(ClassMediumChunk + 1);
  4105     assert(index == HumongousIndex, "Wrong index returned. Got index: %d", (int)index);
  4105     assert(index == HumongousIndex, "Wrong index returned. Got index: %d", (int)index);
  4106   }
  4106   }
  4107 }
  4107 }
  4108 
  4108 
       
  4109 #endif // !PRODUCT
       
  4110 
       
  4111 #ifdef ASSERT
       
  4112 
  4109 // ChunkManagerReturnTest stresses taking/returning chunks from the ChunkManager. It takes and
  4113 // ChunkManagerReturnTest stresses taking/returning chunks from the ChunkManager. It takes and
  4110 // returns chunks from/to the ChunkManager while keeping track of the expected ChunkManager
  4114 // returns chunks from/to the ChunkManager while keeping track of the expected ChunkManager
  4111 // content.
  4115 // content.
  4112 class ChunkManagerReturnTestImpl {
  4116 class ChunkManagerReturnTestImpl {
  4113 
  4117 
  4413 
  4417 
  4414 void SpaceManager_test_adjust_initial_chunk_size() {
  4418 void SpaceManager_test_adjust_initial_chunk_size() {
  4415   SpaceManagerTest::test_adjust_initial_chunk_size();
  4419   SpaceManagerTest::test_adjust_initial_chunk_size();
  4416 }
  4420 }
  4417 
  4421 
  4418 #endif
  4422 #endif // ASSERT