< prev index next >
src/hotspot/share/gc/z/zStat.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 33,42 ****
--- 33,44 ----
#include "utilities/globalDefinitions.hpp"
#include "utilities/numberSeq.hpp"
#include "utilities/ticks.hpp"
class ZPage;
+ class ZRelocationSetSelectorGroupStats;
+ class ZRelocationSetSelectorStats;
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();
};
--- 418,434 ----
//
// Stat relocation
//
class ZStatRelocation : public AllStatic {
private:
! static ZRelocationSetSelectorStats _stats;
! static bool _success;
!
! static void print(const char* name, const ZRelocationSetSelectorGroupStats& group);
public:
! static void set_at_select_relocation_set(const ZRelocationSetSelectorStats& stats);
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,
--- 542,552 ----
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 ZRelocationSetSelectorStats& stats,
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 >