< prev index next >

src/hotspot/share/cds/archiveUtils.hpp

Print this page
*** 154,14 ***
    void commit_to(char* newtop);
  
  public:
    DumpRegion(const char* name, uintx max_delta = 0)
      : _name(name), _base(nullptr), _top(nullptr), _end(nullptr),
!       _max_delta(max_delta), _is_packed(false) {}
  
    char* expand_top_to(char* newtop);
!   char* allocate(size_t num_bytes);
  
    void append_intptr_t(intptr_t n, bool need_to_mark = false) NOT_CDS_RETURN;
  
    char* base()      const { return _base;        }
    char* top()       const { return _top;         }
--- 154,15 ---
    void commit_to(char* newtop);
  
  public:
    DumpRegion(const char* name, uintx max_delta = 0)
      : _name(name), _base(nullptr), _top(nullptr), _end(nullptr),
!       _max_delta(max_delta), _is_packed(false),
+       _rs(NULL), _vs(NULL) {}
  
    char* expand_top_to(char* newtop);
!   char* allocate(size_t num_bytes, size_t alignment = 0);
  
    void append_intptr_t(intptr_t n, bool need_to_mark = false) NOT_CDS_RETURN;
  
    char* base()      const { return _base;        }
    char* top()       const { return _top;         }
< prev index next >