Skip to content

Commit dccca0f

Browse files
author
William Kemper
committed
8365572: Shenandoah: Remove unused thread local _paced_time field
Reviewed-by: shade
1 parent ba23105 commit dccca0f

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/hotspot/share/gc/shenandoah/shenandoahThreadLocalData.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ ShenandoahThreadLocalData::ShenandoahThreadLocalData() :
3737
_card_table(nullptr),
3838
_gclab(nullptr),
3939
_gclab_size(0),
40-
_paced_time(0),
4140
_plab(nullptr),
4241
_plab_desired_size(0),
4342
_plab_actual_size(0),

src/hotspot/share/gc/shenandoah/shenandoahThreadLocalData.hpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class ShenandoahThreadLocalData {
5858
PLAB* _gclab;
5959
size_t _gclab_size;
6060

61-
double _paced_time;
62-
6361
// Thread-local allocation buffer only used in generational mode.
6462
// Used both by mutator threads and by GC worker threads
6563
// for evacuations within the old generation and
@@ -237,18 +235,6 @@ class ShenandoahThreadLocalData {
237235
return data(thread)->_plab_actual_size;
238236
}
239237

240-
static void add_paced_time(Thread* thread, double v) {
241-
data(thread)->_paced_time += v;
242-
}
243-
244-
static double paced_time(Thread* thread) {
245-
return data(thread)->_paced_time;
246-
}
247-
248-
static void reset_paced_time(Thread* thread) {
249-
data(thread)->_paced_time = 0;
250-
}
251-
252238
// Evacuation OOM handling
253239
static bool is_oom_during_evac(Thread* thread) {
254240
return data(thread)->_oom_during_evac;

0 commit comments

Comments
 (0)