TRACESPINNING in taskqueue.hpp (original) (raw)
yumin qi yumin.qi at gmail.com
Tue Feb 14 16:43:36 UTC 2017
- Previous message: RFR: 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
- Next message: TRACESPINNING in taskqueue.hpp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: RFR: 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
- Next message: TRACESPINNING in taskqueue.hpp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]