< prev index next >

src/share/vm/gc/g1/g1HRPrinter.hpp

Print this page




  35   typedef enum {
  36     Alloc,
  37     AllocForce,
  38     Retire,
  39     Reuse,
  40     CSet,
  41     EvacFailure,
  42     Cleanup,
  43     PostCompaction,
  44     Commit,
  45     Uncommit
  46   } ActionType;
  47 
  48   typedef enum {
  49     Unset,
  50     Eden,
  51     Survivor,
  52     Old,
  53     SingleHumongous,
  54     StartsHumongous,
  55     ContinuesHumongous

  56   } RegionType;
  57 
  58   typedef enum {
  59     StartGC,
  60     EndGC,
  61     StartFullGC,
  62     EndFullGC
  63   } PhaseType;
  64 
  65 private:
  66   bool _active;
  67 
  68   static const char* action_name(ActionType action);
  69   static const char* region_type_name(RegionType type);
  70   static const char* phase_name(PhaseType phase);
  71 
  72   // Print an action event. This version is used in most scenarios and
  73   // only prints the region's bottom. The parameters type and top are
  74   // optional (the "not set" values are Unset and NULL).
  75   static void print(ActionType action, RegionType type,




  35   typedef enum {
  36     Alloc,
  37     AllocForce,
  38     Retire,
  39     Reuse,
  40     CSet,
  41     EvacFailure,
  42     Cleanup,
  43     PostCompaction,
  44     Commit,
  45     Uncommit
  46   } ActionType;
  47 
  48   typedef enum {
  49     Unset,
  50     Eden,
  51     Survivor,
  52     Old,
  53     SingleHumongous,
  54     StartsHumongous,
  55     ContinuesHumongous,
  56     Archive
  57   } RegionType;
  58 
  59   typedef enum {
  60     StartGC,
  61     EndGC,
  62     StartFullGC,
  63     EndFullGC
  64   } PhaseType;
  65 
  66 private:
  67   bool _active;
  68 
  69   static const char* action_name(ActionType action);
  70   static const char* region_type_name(RegionType type);
  71   static const char* phase_name(PhaseType phase);
  72 
  73   // Print an action event. This version is used in most scenarios and
  74   // only prints the region's bottom. The parameters type and top are
  75   // optional (the "not set" values are Unset and NULL).
  76   static void print(ActionType action, RegionType type,


< prev index next >