--- old/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-09-17 15:01:30.199069342 +0200 +++ new/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-09-17 15:01:29.887059130 +0200 @@ -233,11 +233,6 @@ DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); }) - // This function verifies that "addr" is a valid oop location, w.r.t. heap - // datastructures such as bitmaps and virtual memory address. It does *not* - // check if the location is within committed heap memory. - virtual void check_oop_location(void* addr) const; - virtual uint32_t hash_oop(oop obj) const; void set_gc_cause(GCCause::Cause v) { @@ -507,6 +502,10 @@ // Deduplicate the string, iff the GC supports string deduplication. virtual void deduplicate_string(oop str); + // This function verifies that "addr" is a valid oop location, w.r.t. heap + // datastructures such as bitmaps and virtual memory address. It does *not* + // check if the location is within committed heap memory. + virtual bool is_oop_location(void* addr) const; virtual bool is_oop(oop object) const; virtual size_t obj_size(oop obj) const;