TRACESPINNING in taskqueue.hpp
yumin qi
yumin.qi at gmail.com
Tue Feb 14 16:43:36 UTC 2017
Hi,
In file taskqueue.hpp, first #undef TRACESPINNING
The next whatever in #ifdef TRACESPINNING will not be included in build.
Any comment?
Thanks
Yumin
// A class to aid in the termination of a set of parallel tasks using
// TaskQueueSet's for work stealing.
#undef TRACESPINNING
class ParallelTaskTerminator: public StackObj {
protected:
uint _n_threads;
TaskQueueSetSuper* _queue_set;
uint _offered_termination;
#ifdef TRACESPINNING
static uint _total_yields;
static uint _total_spins;
static uint _total_peeks;
#endif
More information about the hotspot-dev
mailing list