< prev index next >
src/hotspot/share/gc/z/zStat.hpp
Print this page
*** 33,42 ****
--- 33,43 ----
#include "utilities/globalDefinitions.hpp"
#include "utilities/numberSeq.hpp"
#include "utilities/ticks.hpp"
class ZPage;
+ class ZRelocationSetSelectorGroupStats;
class ZStatSampler;
class ZStatSamplerHistory;
struct ZStatCounterData;
struct ZStatSamplerData;
*** 416,430 ****
//
// Stat relocation
//
class ZStatRelocation : public AllStatic {
private:
! static size_t _relocating;
! static bool _success;
!
! public:
! static void set_at_select_relocation_set(size_t relocating);
static void set_at_relocate_end(bool success);
static void print();
};
--- 417,445 ----
//
// Stat relocation
//
class ZStatRelocation : public AllStatic {
private:
! struct Group {
! size_t _npages;
! size_t _total;
! size_t _empty;
! size_t _compacting_from;
! size_t _compacting_to;
! };
!
! static Group _small;
! static Group _medium;
! static Group _large;
! static bool _success;
!
! static void print(const char* name, const ZStatRelocation::Group& group);
!
! public:
! static void set_at_select_relocation_set(const ZRelocationSetSelectorGroupStats& small,
! const ZRelocationSetSelectorGroupStats& medium,
! const ZRelocationSetSelectorGroupStats& large);
static void set_at_relocate_end(bool success);
static void print();
};
*** 538,549 ****
size_t capacity,
size_t used);
static void set_at_mark_end(size_t capacity,
size_t allocated,
size_t used);
! static void set_at_select_relocation_set(size_t live,
! size_t garbage,
size_t reclaimed);
static void set_at_relocate_start(size_t capacity,
size_t allocated,
size_t used);
static void set_at_relocate_end(size_t capacity,
--- 553,565 ----
size_t capacity,
size_t used);
static void set_at_mark_end(size_t capacity,
size_t allocated,
size_t used);
! static void set_at_select_relocation_set(const ZRelocationSetSelectorGroupStats& small,
! const ZRelocationSetSelectorGroupStats& medium,
! const ZRelocationSetSelectorGroupStats& large,
size_t reclaimed);
static void set_at_relocate_start(size_t capacity,
size_t allocated,
size_t used);
static void set_at_relocate_end(size_t capacity,
< prev index next >