src/share/vm/memory/heap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/memory/heap.hpp

src/share/vm/memory/heap.hpp

Print this page

        

*** 118,128 **** void insert_after(FreeBlock* a, FreeBlock* b); bool merge_right (FreeBlock* a); // Toplevel freelist management void add_to_freelist(HeapBlock* b); ! FreeBlock* search_freelist(size_t length, bool is_critical); // Iteration helpers void* next_free(HeapBlock* b) const; HeapBlock* first_block() const; HeapBlock* next_block(HeapBlock* b) const; --- 118,128 ---- void insert_after(FreeBlock* a, FreeBlock* b); bool merge_right (FreeBlock* a); // Toplevel freelist management void add_to_freelist(HeapBlock* b); ! FreeBlock* search_freelist(size_t length); // Iteration helpers void* next_free(HeapBlock* b) const; HeapBlock* first_block() const; HeapBlock* next_block(HeapBlock* b) const;
*** 138,149 **** // Heap extents bool reserve(ReservedSpace rs, size_t committed_size, size_t segment_size); bool expand_by(size_t size); // expands committed memory by size // Memory allocation ! void* allocate (size_t size, bool is_critical); // allocates a block of size or returns NULL ! void deallocate(void* p); // deallocates a block // Attributes char* low_boundary() const { return _memory.low_boundary (); } char* high() const { return _memory.high(); } char* high_boundary() const { return _memory.high_boundary(); } --- 138,149 ---- // Heap extents bool reserve(ReservedSpace rs, size_t committed_size, size_t segment_size); bool expand_by(size_t size); // expands committed memory by size // Memory allocation ! void* allocate (size_t size); // Allocate 'size' bytes in the code cache or return NULL ! void deallocate(void* p); // Deallocate memory // Attributes char* low_boundary() const { return _memory.low_boundary (); } char* high() const { return _memory.high(); } char* high_boundary() const { return _memory.high_boundary(); }
src/share/vm/memory/heap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File