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