< prev index next >
src/share/vm/gc/shared/referenceProcessorPhaseTimes.hpp
Print this page
*** 26,35 ****
--- 26,36 ----
#define SHARE_VM_GC_SHARED_REFERENCEPROCESSORPHASETIMES_HPP
#include "gc/shared/referenceProcessorStats.hpp"
#include "gc/shared/workerDataArray.inline.hpp"
#include "memory/referenceType.hpp"
+ #include "utilities/ticks.hpp"
class DiscoveredList;
class GCTimer;
class ReferenceProcessorPhaseTimes : public CHeapObj<mtGC> {
*** 94,110 ****
size_t ref_cleared(ReferenceType ref_type) const;
size_t ref_enqueued(ReferenceType ref_type) const;
double balance_queues_time_ms(ReferenceType ref_type) const;
! bool processing_is_mt() const { return _processing_is_mt; }
!
! void print_reference(ReferenceType ref_type, uint base_indent);
! void print_phase(RefProcParPhases phase, uint indent);
public:
! ReferenceProcessorPhaseTimes(GCTimer* gc_timer, uint max_gc_threads, bool processing_is_mt);
~ReferenceProcessorPhaseTimes();
static double uninitialized() { return -1.0; }
WorkerDataArray<double>* worker_time_sec(RefProcParPhases phase) const;
--- 95,109 ----
size_t ref_cleared(ReferenceType ref_type) const;
size_t ref_enqueued(ReferenceType ref_type) const;
double balance_queues_time_ms(ReferenceType ref_type) const;
! void print_reference(ReferenceType ref_type, uint base_indent) const;
! void print_phase(RefProcParPhases phase, uint indent) const;
public:
! ReferenceProcessorPhaseTimes(GCTimer* gc_timer, uint max_gc_threads);
~ReferenceProcessorPhaseTimes();
static double uninitialized() { return -1.0; }
WorkerDataArray<double>* worker_time_sec(RefProcParPhases phase) const;
*** 132,143 ****
GCTimer* gc_timer() const { return _gc_timer; }
// Reset all fields. If not reset at next cycle, an assertion will fail.
void reset();
! void print_enqueue_phase(uint base_indent = 0, bool print_total = true);
! void print_all_references(uint base_indent = 0, bool print_total = true);
};
// Updates working time of each worker thread.
class RefProcWorkerTimeTracker : public StackObj {
protected:
--- 131,142 ----
GCTimer* gc_timer() const { return _gc_timer; }
// Reset all fields. If not reset at next cycle, an assertion will fail.
void reset();
! void print_enqueue_phase(uint base_indent = 0, bool print_total = true) const;
! void print_all_references(uint base_indent = 0, bool print_total = true) const;
};
// Updates working time of each worker thread.
class RefProcWorkerTimeTracker : public StackObj {
protected:
< prev index next >