File tree 3 files changed +2
-17
lines changed
src/hotspot/share/gc/shenandoah
3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ ShenandoahControlThread::ShenandoahControlThread() :
54
54
_requested_gc_cause(GCCause::_no_cause_specified),
55
55
_degen_point(ShenandoahGC::_degenerated_outside_cycle),
56
56
_allocs_seen(0 ) {
57
-
57
+ set_name ( " Shenandoah Control Thread " );
58
58
reset_gc_id ();
59
59
create_and_start ();
60
60
_periodic_task.enroll ();
@@ -626,16 +626,6 @@ size_t ShenandoahControlThread::get_gc_id() {
626
626
return Atomic::load (&_gc_id);
627
627
}
628
628
629
- void ShenandoahControlThread::print () const {
630
- print_on (tty);
631
- }
632
-
633
- void ShenandoahControlThread::print_on (outputStream* st) const {
634
- st->print (" Shenandoah Concurrent Thread" );
635
- Thread::print_on (st);
636
- st->cr ();
637
- }
638
-
639
629
void ShenandoahControlThread::start () {
640
630
create_and_start ();
641
631
}
Original file line number Diff line number Diff line change @@ -142,12 +142,6 @@ class ShenandoahControlThread: public ConcurrentGCThread {
142
142
void start ();
143
143
void prepare_for_graceful_shutdown ();
144
144
bool in_graceful_shutdown ();
145
-
146
- const char * name () const { return " ShenandoahControlThread" ;}
147
-
148
- // Printing
149
- void print_on (outputStream* st) const ;
150
- void print () const ;
151
145
};
152
146
153
147
#endif // SHARE_GC_SHENANDOAH_SHENANDOAHCONTROLTHREAD_HPP
Original file line number Diff line number Diff line change @@ -1180,6 +1180,7 @@ void ShenandoahHeap::prepare_for_verify() {
1180
1180
}
1181
1181
1182
1182
void ShenandoahHeap::gc_threads_do (ThreadClosure* tcl) const {
1183
+ tcl->do_thread (_control_thread);
1183
1184
workers ()->threads_do (tcl);
1184
1185
if (_safepoint_workers != NULL ) {
1185
1186
_safepoint_workers->threads_do (tcl);
You can’t perform that action at this time.
0 commit comments