src/share/vm/memory/allocation.hpp

changeset 3138
f6f3bb0ee072
parent 2834
2a3da7eaf4a6
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/memory/allocation.hpp	Sat Sep 10 17:29:02 2011 -0700
     1.2 +++ b/src/share/vm/memory/allocation.hpp	Sun Sep 11 14:48:24 2011 -0700
     1.3 @@ -151,6 +151,8 @@
     1.4  //------------------------------Chunk------------------------------------------
     1.5  // Linked list of raw memory chunks
     1.6  class Chunk: public CHeapObj {
     1.7 +  friend class VMStructs;
     1.8 +
     1.9   protected:
    1.10    Chunk*       _next;     // Next Chunk in list
    1.11    const size_t _len;      // Size of this Chunk
    1.12 @@ -200,6 +202,8 @@
    1.13    friend class ResourceMark;
    1.14    friend class HandleMark;
    1.15    friend class NoHandleMark;
    1.16 +  friend class VMStructs;
    1.17 +
    1.18    Chunk *_first;                // First chunk
    1.19    Chunk *_chunk;                // current chunk
    1.20    char *_hwm, *_max;            // High water mark and max in current chunk

mercurial