mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8293492: ShenandoahControlThread missing from hs-err log and thread dump
Reviewed-by: zgu, shade
This commit is contained in:
parent
6bd2794175
commit
85ec1f8d02
@ -54,7 +54,7 @@ ShenandoahControlThread::ShenandoahControlThread() :
|
||||
_requested_gc_cause(GCCause::_no_cause_specified),
|
||||
_degen_point(ShenandoahGC::_degenerated_outside_cycle),
|
||||
_allocs_seen(0) {
|
||||
|
||||
set_name("Shenandoah Control Thread");
|
||||
reset_gc_id();
|
||||
create_and_start();
|
||||
_periodic_task.enroll();
|
||||
@ -626,16 +626,6 @@ size_t ShenandoahControlThread::get_gc_id() {
|
||||
return Atomic::load(&_gc_id);
|
||||
}
|
||||
|
||||
void ShenandoahControlThread::print() const {
|
||||
print_on(tty);
|
||||
}
|
||||
|
||||
void ShenandoahControlThread::print_on(outputStream* st) const {
|
||||
st->print("Shenandoah Concurrent Thread");
|
||||
Thread::print_on(st);
|
||||
st->cr();
|
||||
}
|
||||
|
||||
void ShenandoahControlThread::start() {
|
||||
create_and_start();
|
||||
}
|
||||
|
||||
@ -142,12 +142,6 @@ public:
|
||||
void start();
|
||||
void prepare_for_graceful_shutdown();
|
||||
bool in_graceful_shutdown();
|
||||
|
||||
const char* name() const { return "ShenandoahControlThread";}
|
||||
|
||||
// Printing
|
||||
void print_on(outputStream* st) const;
|
||||
void print() const;
|
||||
};
|
||||
|
||||
#endif // SHARE_GC_SHENANDOAH_SHENANDOAHCONTROLTHREAD_HPP
|
||||
|
||||
@ -1180,6 +1180,7 @@ void ShenandoahHeap::prepare_for_verify() {
|
||||
}
|
||||
|
||||
void ShenandoahHeap::gc_threads_do(ThreadClosure* tcl) const {
|
||||
tcl->do_thread(_control_thread);
|
||||
workers()->threads_do(tcl);
|
||||
if (_safepoint_workers != NULL) {
|
||||
_safepoint_workers->threads_do(tcl);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user