< prev index next >

hotspot/src/share/vm/adlc/arena.hpp

Print this page

        

*** 69,78 **** --- 69,81 ---- //------------------------------Chunk------------------------------------------ // Linked list of raw memory chunks class Chunk: public CHeapObj { public: void* operator new(size_t size, size_t length) throw(); + // Usual (non-placement) deallocation function to allow placement delete use size_t + // See 3.7.4.2 [basic.stc.dynamic.deallocation] paragraph 2. + void operator delete(void* p); void operator delete(void* p, size_t length); Chunk(size_t length); enum { init_size = 1*1024, // Size of first chunk
< prev index next >