File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed
src/hotspot/share/gc/shenandoah Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ ShenandoahControlThread::ShenandoahControlThread() :
5353 _requested_gc_cause(GCCause::_no_cause_specified),
5454 _degen_point(ShenandoahGC::_degenerated_outside_cycle),
5555 _allocs_seen(0 ) {
56-
56+ set_name ( " Shenandoah Control Thread " );
5757 reset_gc_id ();
5858 create_and_start ();
5959 _periodic_task.enroll ();
@@ -623,16 +623,6 @@ size_t ShenandoahControlThread::get_gc_id() {
623623 return Atomic::load (&_gc_id);
624624}
625625
626- void ShenandoahControlThread::print () const {
627- print_on (tty);
628- }
629-
630- void ShenandoahControlThread::print_on (outputStream* st) const {
631- st->print (" Shenandoah Concurrent Thread" );
632- Thread::print_on (st);
633- st->cr ();
634- }
635-
636626void ShenandoahControlThread::start () {
637627 create_and_start ();
638628}
Original file line number Diff line number Diff line change @@ -142,12 +142,6 @@ class ShenandoahControlThread: public ConcurrentGCThread {
142142 void start ();
143143 void prepare_for_graceful_shutdown ();
144144 bool in_graceful_shutdown ();
145-
146- char * name () const { return (char *)" ShenandoahControlThread" ;}
147-
148- // Printing
149- void print_on (outputStream* st) const ;
150- void print () const ;
151145};
152146
153147#endif // SHARE_GC_SHENANDOAH_SHENANDOAHCONTROLTHREAD_HPP
Original file line number Diff line number Diff line change @@ -1182,6 +1182,7 @@ void ShenandoahHeap::prepare_for_verify() {
11821182}
11831183
11841184void ShenandoahHeap::gc_threads_do (ThreadClosure* tcl) const {
1185+ tcl->do_thread (_control_thread);
11851186 workers ()->threads_do (tcl);
11861187 if (_safepoint_workers != NULL ) {
11871188 _safepoint_workers->threads_do (tcl);
You can’t perform that action at this time.
0 commit comments