src/share/vm/memory/heap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/memory/heap.hpp Mon Oct 31 17:46:56 2016
--- new/src/share/vm/memory/heap.hpp Mon Oct 31 17:46:55 2016
*** 80,90 ****
--- 80,90 ----
};
class CodeHeap : public CHeapObj<mtCode> {
friend class VMStructs;
friend class PregeneratedCodeHeap;
! private:
! protected:
VirtualSpace _memory; // the memory holding the blocks
VirtualSpace _segmap; // the memory holding the segment map
size_t _number_of_committed_segments;
size_t _number_of_reserved_segments;
*** 154,163 ****
--- 154,164 ----
char* high() const { return _memory.high(); }
char* high_boundary() const { return _memory.high_boundary(); }
virtual bool contains(const void* p) const { return low_boundary() <= p && p < high(); }
virtual void* find_start(void* p) const; // returns the block containing p or NULL
+ virtual CodeBlob* find_blob_unsafe(void* start) const;
size_t alignment_unit() const; // alignment of any block
size_t alignment_offset() const; // offset of first byte of any block, within the enclosing alignment unit
static size_t header_size(); // returns the header size for each heap block
size_t allocated_in_freelist() const { return _freelist_segments * CodeCacheSegmentSize; }
src/share/vm/memory/heap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File