changeset 16362 | 7b5c4f403e90 |
parent 15482 | 470d0b0c09f1 |
child 16452 | 59d6b3ae04f0 |
--- a/hotspot/src/share/vm/services/memoryService.cpp Sat Mar 16 07:39:14 2013 -0700 +++ b/hotspot/src/share/vm/services/memoryService.cpp Sat Mar 16 07:39:57 2013 -0700 @@ -240,6 +240,7 @@ void MemoryService::add_generation_memory_pool(Generation* gen, MemoryManager* major_mgr, MemoryManager* minor_mgr) { + guarantee(gen != NULL, "No generation for memory pool"); Generation::Name kind = gen->kind(); int index = _pools_list->length();