8222490: Shenandoah: Remove unused _par_state_string in ShenandoahRootEvacuator

Reviewed-by: shade
This commit is contained in:
Zhengyu Gu 2019-04-15 12:54:12 -04:00
parent 70b807c166
commit a652f593f2
2 changed files with 1 additions and 5 deletions

View File

@ -242,10 +242,7 @@ ShenandoahRootEvacuator::ShenandoahRootEvacuator(ShenandoahHeap* heap, uint n_wo
_evacuation_tasks(new SubTasksDone(SHENANDOAH_EVAC_NumElements)), _evacuation_tasks(new SubTasksDone(SHENANDOAH_EVAC_NumElements)),
_srs(n_workers), _srs(n_workers),
_phase(phase), _phase(phase),
_coderoots_cset_iterator(ShenandoahCodeRoots::cset_iterator()), _coderoots_cset_iterator(ShenandoahCodeRoots::cset_iterator()) {
_par_state_string(StringTable::weak_storage())
{
heap->phase_timings()->record_workers_start(_phase); heap->phase_timings()->record_workers_start(_phase);
if (ShenandoahStringDedup::is_enabled()) { if (ShenandoahStringDedup::is_enabled()) {
StringDedup::gc_prologue(false); StringDedup::gc_prologue(false);

View File

@ -119,7 +119,6 @@ class ShenandoahRootEvacuator : public StackObj {
StrongRootsScope _srs; StrongRootsScope _srs;
ShenandoahPhaseTimings::Phase _phase; ShenandoahPhaseTimings::Phase _phase;
ShenandoahCsetCodeRootsIterator _coderoots_cset_iterator; ShenandoahCsetCodeRootsIterator _coderoots_cset_iterator;
OopStorage::ParState<false, false> _par_state_string;
enum Shenandoah_evacuate_roots_tasks { enum Shenandoah_evacuate_roots_tasks {
SHENANDOAH_EVAC_Universe_oops_do, SHENANDOAH_EVAC_Universe_oops_do,