< prev index next >
src/hotspot/share/gc/shared/gcTrace.hpp
Print this page
*** 28,38 ****
#include "gc/shared/copyFailedInfo.hpp"
#include "gc/shared/gcCause.hpp"
#include "gc/shared/gcId.hpp"
#include "gc/shared/gcName.hpp"
#include "gc/shared/gcWhen.hpp"
- #include "memory/allocation.hpp"
#include "memory/metaspace.hpp"
#include "memory/referenceType.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
#if INCLUDE_ALL_GCS
--- 28,37 ----
*** 48,58 ****
class G1EvacSummary;
class ReferenceProcessorStats;
class TimePartitions;
class BoolObjectClosure;
! class SharedGCInfo VALUE_OBJ_CLASS_SPEC {
private:
GCName _name;
GCCause::Cause _cause;
Ticks _start_timestamp;
Ticks _end_timestamp;
--- 47,57 ----
class G1EvacSummary;
class ReferenceProcessorStats;
class TimePartitions;
class BoolObjectClosure;
! class SharedGCInfo {
private:
GCName _name;
GCCause::Cause _cause;
Ticks _start_timestamp;
Ticks _end_timestamp;
*** 86,96 ****
void set_longest_pause(const Tickspan& duration) { _longest_pause = duration; }
const Tickspan longest_pause() const { return _longest_pause; }
};
! class ParallelOldGCInfo VALUE_OBJ_CLASS_SPEC {
void* _dense_prefix;
public:
ParallelOldGCInfo() : _dense_prefix(NULL) {}
void report_dense_prefix(void* addr) {
_dense_prefix = addr;
--- 85,95 ----
void set_longest_pause(const Tickspan& duration) { _longest_pause = duration; }
const Tickspan longest_pause() const { return _longest_pause; }
};
! class ParallelOldGCInfo {
void* _dense_prefix;
public:
ParallelOldGCInfo() : _dense_prefix(NULL) {}
void report_dense_prefix(void* addr) {
_dense_prefix = addr;
*** 98,108 ****
void* dense_prefix() const { return _dense_prefix; }
};
#if INCLUDE_ALL_GCS
! class G1YoungGCInfo VALUE_OBJ_CLASS_SPEC {
G1YCType _type;
public:
G1YoungGCInfo() : _type(G1YCTypeEndSentinel) {}
void set_type(G1YCType type) {
_type = type;
--- 97,107 ----
void* dense_prefix() const { return _dense_prefix; }
};
#if INCLUDE_ALL_GCS
! class G1YoungGCInfo {
G1YCType _type;
public:
G1YoungGCInfo() : _type(G1YCTypeEndSentinel) {}
void set_type(G1YCType type) {
_type = type;
< prev index next >