mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8365572: Shenandoah: Remove unused thread local _paced_time field
Reviewed-by: shade
This commit is contained in:
parent
ba23105231
commit
dccca0fb7a
@ -37,7 +37,6 @@ ShenandoahThreadLocalData::ShenandoahThreadLocalData() :
|
||||
_card_table(nullptr),
|
||||
_gclab(nullptr),
|
||||
_gclab_size(0),
|
||||
_paced_time(0),
|
||||
_plab(nullptr),
|
||||
_plab_desired_size(0),
|
||||
_plab_actual_size(0),
|
||||
|
||||
@ -58,8 +58,6 @@ private:
|
||||
PLAB* _gclab;
|
||||
size_t _gclab_size;
|
||||
|
||||
double _paced_time;
|
||||
|
||||
// Thread-local allocation buffer only used in generational mode.
|
||||
// Used both by mutator threads and by GC worker threads
|
||||
// for evacuations within the old generation and
|
||||
@ -237,18 +235,6 @@ public:
|
||||
return data(thread)->_plab_actual_size;
|
||||
}
|
||||
|
||||
static void add_paced_time(Thread* thread, double v) {
|
||||
data(thread)->_paced_time += v;
|
||||
}
|
||||
|
||||
static double paced_time(Thread* thread) {
|
||||
return data(thread)->_paced_time;
|
||||
}
|
||||
|
||||
static void reset_paced_time(Thread* thread) {
|
||||
data(thread)->_paced_time = 0;
|
||||
}
|
||||
|
||||
// Evacuation OOM handling
|
||||
static bool is_oom_during_evac(Thread* thread) {
|
||||
return data(thread)->_oom_during_evac;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user