8220503: Move ShenandoahTerminatorTerminator::should_exit_termination out of header
Reviewed-by: rkennke
This commit is contained in:
parent
b58c8601bb
commit
3ff8eff804
src/hotspot/share/gc/shenandoah
@ -88,3 +88,7 @@ void ShenandoahObjToScanQueueSet::reset_taskqueue_stats() {
|
||||
}
|
||||
}
|
||||
#endif // TASKQUEUE_STATS
|
||||
|
||||
bool ShenandoahTerminatorTerminator::should_exit_termination() {
|
||||
return _heap->cancelled_gc();
|
||||
}
|
||||
|
@ -335,8 +335,7 @@ private:
|
||||
ShenandoahHeap* _heap;
|
||||
public:
|
||||
ShenandoahTerminatorTerminator(ShenandoahHeap* const heap) : _heap(heap) { }
|
||||
// return true, terminates immediately, even if there's remaining work left
|
||||
virtual bool should_exit_termination() { return _heap->cancelled_gc(); }
|
||||
virtual bool should_exit_termination();
|
||||
};
|
||||
|
||||
#endif // SHARE_GC_SHENANDOAH_SHENANDOAHTASKQUEUE_HPP
|
||||
|
Loading…
x
Reference in New Issue
Block a user