--- old/src/hotspot/share/gc/shared/genCollectedHeap.hpp 2019-02-27 09:29:43.428377851 +0100 +++ new/src/hotspot/share/gc/shared/genCollectedHeap.hpp 2019-02-27 09:29:43.221371219 +0100 @@ -278,13 +278,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. Assumes (and verifies in non-product - // builds) that addr is in the allocated part of the heap and is - // the start of a chunk. - 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. Assumes (and verifies in non-product // builds) that addr is in the allocated part of the heap and is