src/share/vm/gc_implementation/shared/gcTrace.hpp

Print this page
rev 6085 : 8036703: incremental: webrev.03 -> webrev.04


  25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACE_HPP
  26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACE_HPP
  27 
  28 #include "gc_interface/gcCause.hpp"
  29 #include "gc_interface/gcName.hpp"
  30 #include "gc_implementation/shared/gcWhen.hpp"
  31 #include "gc_implementation/shared/copyFailedInfo.hpp"
  32 #include "memory/allocation.hpp"
  33 #include "memory/metaspace.hpp"
  34 #include "memory/referenceType.hpp"
  35 #if INCLUDE_ALL_GCS
  36 #include "gc_implementation/g1/g1YCTypes.hpp"
  37 #endif
  38 #include "utilities/macros.hpp"
  39 #include "utilities/ticks.hpp"
  40 
  41 typedef uint GCId;
  42 
  43 class EvacuationInfo;
  44 class GCHeapSummary;
  45 class MetaspaceSummary;
  46 class MetaspaceChunkFreeListSummary;

  47 class PSHeapSummary;
  48 class ReferenceProcessorStats;
  49 class TimePartitions;
  50 class BoolObjectClosure;
  51 
  52 class SharedGCInfo VALUE_OBJ_CLASS_SPEC {
  53  public:
  54   static const GCId UNSET_GCID = (GCId)-1;
  55 
  56  private:
  57   GCId _id;
  58   GCName _name;
  59   GCCause::Cause _cause;
  60   Ticks     _start_timestamp;
  61   Ticks     _end_timestamp;
  62   Tickspan  _sum_of_pauses;
  63   Tickspan  _longest_pause;
  64 
  65  public:
  66   SharedGCInfo(GCName name) :




  25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACE_HPP
  26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACE_HPP
  27 
  28 #include "gc_interface/gcCause.hpp"
  29 #include "gc_interface/gcName.hpp"
  30 #include "gc_implementation/shared/gcWhen.hpp"
  31 #include "gc_implementation/shared/copyFailedInfo.hpp"
  32 #include "memory/allocation.hpp"
  33 #include "memory/metaspace.hpp"
  34 #include "memory/referenceType.hpp"
  35 #if INCLUDE_ALL_GCS
  36 #include "gc_implementation/g1/g1YCTypes.hpp"
  37 #endif
  38 #include "utilities/macros.hpp"
  39 #include "utilities/ticks.hpp"
  40 
  41 typedef uint GCId;
  42 
  43 class EvacuationInfo;
  44 class GCHeapSummary;

  45 class MetaspaceChunkFreeListSummary;
  46 class MetaspaceSummary;
  47 class PSHeapSummary;
  48 class ReferenceProcessorStats;
  49 class TimePartitions;
  50 class BoolObjectClosure;
  51 
  52 class SharedGCInfo VALUE_OBJ_CLASS_SPEC {
  53  public:
  54   static const GCId UNSET_GCID = (GCId)-1;
  55 
  56  private:
  57   GCId _id;
  58   GCName _name;
  59   GCCause::Cause _cause;
  60   Ticks     _start_timestamp;
  61   Ticks     _end_timestamp;
  62   Tickspan  _sum_of_pauses;
  63   Tickspan  _longest_pause;
  64 
  65  public:
  66   SharedGCInfo(GCName name) :