diff -r 23334f30b9b2 -r e7f2e49d2274 hotspot/src/share/vm/memory/heap.hpp --- a/hotspot/src/share/vm/memory/heap.hpp Thu Feb 09 19:08:32 2017 -0800 +++ b/hotspot/src/share/vm/memory/heap.hpp Fri Feb 10 08:16:49 2017 +0100 @@ -153,7 +153,9 @@ char* high() const { return _memory.high(); } char* high_boundary() const { return _memory.high_boundary(); } - virtual bool contains(const void* p) const { return low_boundary() <= p && p < high(); } + virtual bool contains(const void* p) const { return low_boundary() <= p && p < high(); } + virtual bool contains_blob(const CodeBlob* blob) const { return low_boundary() <= (char*) blob && (char*) blob < high(); } + virtual void* find_start(void* p) const; // returns the block containing p or NULL virtual CodeBlob* find_blob_unsafe(void* start) const; size_t alignment_unit() const; // alignment of any block