equal
deleted
inserted
replaced
231 // code. |
231 // code. |
232 virtual bool is_in(const void* p) const = 0; |
232 virtual bool is_in(const void* p) const = 0; |
233 |
233 |
234 DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); }) |
234 DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); }) |
235 |
235 |
236 // This function verifies that "addr" is a valid oop location, w.r.t. heap |
|
237 // datastructures such as bitmaps and virtual memory address. It does *not* |
|
238 // check if the location is within committed heap memory. |
|
239 virtual void check_oop_location(void* addr) const; |
|
240 |
|
241 virtual uint32_t hash_oop(oop obj) const; |
236 virtual uint32_t hash_oop(oop obj) const; |
242 |
237 |
243 void set_gc_cause(GCCause::Cause v) { |
238 void set_gc_cause(GCCause::Cause v) { |
244 if (UsePerfData) { |
239 if (UsePerfData) { |
245 _gc_lastcause = _gc_cause; |
240 _gc_lastcause = _gc_cause; |