mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8259377: Shenandoah: Enhance weak reference processing time tracking
Reviewed-by: rkennke
This commit is contained in:
parent
916ab4e7d8
commit
ccdf171d78
5 changed files with 39 additions and 29 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue