< prev index next >
src/hotspot/share/gc/shared/collectedHeap.hpp
Print this page
@@ -231,15 +231,10 @@
// code.
virtual bool is_in(const void* p) const = 0;
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) {
if (UsePerfData) {
_gc_lastcause = _gc_cause;
@@ -505,10 +500,14 @@
virtual void unpin_object(JavaThread* thread, oop obj);
// 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;
// Non product verification and debugging.
< prev index next >