8219817: Remove unused CollectedHeap::block_size()

Reviewed-by: shade, stefank
This commit is contained in:
Per Lidén 2019-03-13 11:31:00 +01:00
parent 304dca18b5
commit c6917cc27e
16 changed files with 0 additions and 69 deletions

View file

@ -450,11 +450,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
// non-object.
virtual HeapWord* block_start(const void* addr) const = 0;
// 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;
// Requires "addr" to be the start of a block, and returns "TRUE" iff
// the block is an object.
virtual bool block_is_obj(const HeapWord* addr) const = 0;