src/share/vm/memory/allocation.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7088955 Cdiff src/share/vm/memory/allocation.hpp

src/share/vm/memory/allocation.hpp

Print this page

        

*** 149,158 **** --- 149,160 ---- //------------------------------Chunk------------------------------------------ // Linked list of raw memory chunks class Chunk: public CHeapObj { + friend class VMStructs; + protected: Chunk* _next; // Next Chunk in list const size_t _len; // Size of this Chunk public: void* operator new(size_t size, size_t length);
*** 198,207 **** --- 200,211 ---- class Arena: public CHeapObj { protected: friend class ResourceMark; friend class HandleMark; friend class NoHandleMark; + friend class VMStructs; + Chunk *_first; // First chunk Chunk *_chunk; // current chunk char *_hwm, *_max; // High water mark and max in current chunk void* grow(size_t x); // Get a new Chunk of at least size x NOT_PRODUCT(size_t _size_in_bytes;) // Size of arena (used for memory usage tracing)
src/share/vm/memory/allocation.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File