< prev index next >

src/share/vm/memory/space.hpp

Print this page

        

*** 193,203 **** // The non-const version may have benevolent side effects on the data // structure supporting these calls, possibly speeding up future calls. // The default implementation, however, is simply to call the const // version. ! inline virtual HeapWord* block_start(const void* p); // Requires "addr" to be the start of a chunk, and returns its size. // "addr + size" is required to be the start of a new chunk, or the end // of the active area of the heap. virtual size_t block_size(const HeapWord* addr) const = 0; --- 193,203 ---- // The non-const version may have benevolent side effects on the data // structure supporting these calls, possibly speeding up future calls. // The default implementation, however, is simply to call the const // version. ! virtual HeapWord* block_start(const void* p); // Requires "addr" to be the start of a chunk, and returns its size. // "addr + size" is required to be the start of a new chunk, or the end // of the active area of the heap. virtual size_t block_size(const HeapWord* addr) const = 0;
< prev index next >