< prev index next >

src/hotspot/share/cds/filemap.hpp

Print this page
@@ -186,10 +186,11 @@
    size_t _core_region_alignment;                  // how shared archive should be aligned
    int    _obj_alignment;                          // value of ObjectAlignmentInBytes
    address _narrow_oop_base;                       // compressed oop encoding base
    int    _narrow_oop_shift;                       // compressed oop encoding shift
    bool   _compact_strings;                        // value of CompactStrings
+   bool   _compact_headers;                        // value of UseCompactObjectHeaders
    uintx  _max_heap_size;                          // java max heap size during dumping
    CompressedOops::Mode _narrow_oop_mode;          // compressed oop encoding mode
    bool    _compressed_oops;                       // save the flag UseCompressedOops
    bool    _compressed_class_ptrs;                 // save the flag UseCompressedClassPointers
    size_t  _cloned_vtables_offset;                 // The address of the first cloned vtable

@@ -254,10 +255,11 @@
    size_t core_region_alignment()           const { return _core_region_alignment; }
    int obj_alignment()                      const { return _obj_alignment; }
    address narrow_oop_base()                const { return _narrow_oop_base; }
    int narrow_oop_shift()                   const { return _narrow_oop_shift; }
    bool compact_strings()                   const { return _compact_strings; }
+   bool compact_headers()                   const { return _compact_headers; }
    uintx max_heap_size()                    const { return _max_heap_size; }
    CompressedOops::Mode narrow_oop_mode()   const { return _narrow_oop_mode; }
    char* cloned_vtables()                   const { return from_mapped_offset(_cloned_vtables_offset); }
    char* serialized_data()                  const { return from_mapped_offset(_serialized_data_offset); }
    const char* jvm_ident()                  const { return _jvm_ident; }
< prev index next >