--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-27 09:29:41.794325498 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-27 09:29:41.589318930 +0100 @@ -1186,11 +1186,6 @@ // non-object. virtual HeapWord* block_start(const void* addr) const; - // 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; - // 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;