< prev index next >
src/hotspot/share/gc/shared/collectedHeap.hpp
Print this page
*** 465,476 ****
virtual bool print_location(outputStream* st, void* addr) const = 0;
// Iterator for all GC threads (other than VM thread)
virtual void gc_threads_do(ThreadClosure* tc) const = 0;
! // Run given task. Possibly in parallel if the GC supports it.
! virtual void run_task(AbstractGangTask* task) = 0;
// Print any relevant tracing info that flags imply.
// Default implementation does nothing.
virtual void print_tracing_info() const = 0;
--- 465,478 ----
virtual bool print_location(outputStream* st, void* addr) const = 0;
// Iterator for all GC threads (other than VM thread)
virtual void gc_threads_do(ThreadClosure* tc) const = 0;
! // Runs the given task with (up to) the requested number of workers.
! // Some GCs don't support parallel worker threads and will run the
! // task in one thread, with worker id 0.
! void run_task_at_safepoint(AbstractGangTask* task, uint num_workers);
// Print any relevant tracing info that flags imply.
// Default implementation does nothing.
virtual void print_tracing_info() const = 0;
< prev index next >