8259377: Shenandoah: Enhance weak reference processing time tracking

Reviewed-by: rkennke
This commit is contained in:
Zhengyu Gu 2021-01-13 19:01:18 +00:00
parent 916ab4e7d8
commit ccdf171d78
5 changed files with 39 additions and 29 deletions

View file

@ -1,6 +1,6 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, Red Hat, Inc. and/or its affiliates.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2021, Red Hat, Inc. and/or its affiliates.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
#define SHARE_VM_GC_SHENANDOAH_SHENANDOAHREFERENCEPROCESSOR_HPP
#include "gc/shared/referenceDiscoverer.hpp"
#include "gc/shenandoah/shenandoahPhaseTimings.hpp"
#include "memory/allocation.hpp"
class ShenandoahMarkRefsSuperClosure;
@ -176,7 +177,7 @@ public:
bool discover_reference(oop obj, ReferenceType type) override;
void process_references(WorkGang* workers, bool concurrent);
void process_references(ShenandoahPhaseTimings::Phase phase, WorkGang* workers, bool concurrent);
void work();