Skip to content

Commit d5831cf

Browse files
author
duke
committed
Backport dccca0fb7a892d31179b70fa861b8b3cdde54e84
1 parent dd74835 commit d5831cf

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
@@ -57,8 +57,6 @@ class ShenandoahThreadLocalData {
5757
PLAB* _gclab;
5858
size_t _gclab_size;
5959

60-
double _paced_time;
61-
6260
// Thread-local allocation buffer only used in generational mode.
6361
// Used both by mutator threads and by GC worker threads
6462
// 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)