< prev index next > src/hotspot/share/memory/allocation.hpp
Print this page
// WARNING: The array variant must only be used for a homogenous array
// where all objects are of the exact type specified. If subtypes are
// stored in the array then must pay attention to calling destructors
// at needed.
//
- // NEW_RESOURCE_ARRAY(type, size)
- // NEW_RESOURCE_OBJ(type)
- // NEW_C_HEAP_ARRAY(type, size)
- // NEW_C_HEAP_OBJ(type, memflags)
- // FREE_C_HEAP_ARRAY(type, old)
- // FREE_C_HEAP_OBJ(objname, type, memflags)
- // char* AllocateHeap(size_t size, const char* name);
- // void FreeHeap(void* p);
- //
-
// In non product mode we introduce a super class for all allocation classes
// that supports printing.
// We avoid the superclass in product mode to save space.
#ifdef PRODUCT
< prev index next >