mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
This commit is contained in:
parent
a7dd794beb
commit
a5cec7fe04
7 changed files with 24 additions and 12 deletions
|
@ -239,6 +239,8 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
|
||||
DEBUG_ONLY(bool is_in_or_null(const void* p) const { return p == NULL || is_in(p); })
|
||||
|
||||
virtual uint32_t hash_oop(oop obj) const;
|
||||
|
||||
void set_gc_cause(GCCause::Cause v) {
|
||||
if (UsePerfData) {
|
||||
_gc_lastcause = _gc_cause;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue