8365572: Shenandoah: Remove unused thread local _paced_time field

Reviewed-by: shade
This commit is contained in:
William Kemper 2025-08-14 19:58:54 +00:00
parent ba23105231
commit dccca0fb7a
2 changed files with 0 additions and 15 deletions

View File

@ -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),

View File

@ -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;