--- old/src/hotspot/share/gc/epsilon/epsilonHeap.hpp 2020-08-05 21:22:39.149589786 +0800 +++ new/src/hotspot/share/gc/epsilon/epsilonHeap.hpp 2020-08-05 21:22:38.841589775 +0800 @@ -119,6 +119,10 @@ // No GC threads virtual void gc_threads_do(ThreadClosure* tc) const {} + // Runs the given AbstractGangTask with the current active workers + // No workGang for EpsilonHeap, work serially with thread 0 + virtual void run_task(AbstractGangTask* task) { task->work(0); } + // No nmethod handling virtual void register_nmethod(nmethod* nm) {} virtual void unregister_nmethod(nmethod* nm) {} @@ -141,6 +145,7 @@ virtual void print_tracing_info() const; virtual bool print_location(outputStream* st, void* addr) const; + private: void print_heap_info(size_t used) const; void print_metaspace_info() const;