Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/allocation.hpp @ 3939:f6f3bb0ee072
7088955: add C2 IR support to the SA
Reviewed-by: kvn
author | never |
---|---|
date | Sun, 11 Sep 2011 14:48:24 -0700 |
parents | 2a3da7eaf4a6 |
children | d2a62e0f25eb |
line wrap: on
line diff
--- a/src/share/vm/memory/allocation.hpp Sat Sep 10 17:29:02 2011 -0700 +++ b/src/share/vm/memory/allocation.hpp Sun Sep 11 14:48:24 2011 -0700 @@ -151,6 +151,8 @@ //------------------------------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 @@ -200,6 +202,8 @@ 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