< prev index next >

src/hotspot/share/gc/shared/memAllocator.cpp

Print this page

        

*** 368,377 **** --- 368,380 ---- { Allocation allocation(*this, &obj); HeapWord* mem = mem_allocate(allocation); if (mem != NULL) { obj = initialize(mem); + } else { + // Keep the unhandled oop detector happy. + obj = NULL; } } return obj; }
< prev index next >