src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp

Print this page
rev 7653 : 8068883: Remove disabling of warning "C4355: 'this' : used in base member initializer list"

*** 62,82 **** } } return true; } - #ifdef _MSC_VER // the use of 'this' below gets a warning, make it go away - #pragma warning( disable:4355 ) // 'this' : used in base member initializer list - #endif // _MSC_VER - DirtyCardQueueSet::DirtyCardQueueSet(bool notify_when_complete) : PtrQueueSet(notify_when_complete), _mut_process_closure(NULL), - _shared_dirty_card_queue(this, true /*perm*/), _free_ids(NULL), _processed_buffers_mut(0), _processed_buffers_rs_thread(0) { _all_active = true; } // Determines how many mutator threads can process the buffers in parallel. uint DirtyCardQueueSet::num_par_ids() { --- 62,78 ---- } } return true; } DirtyCardQueueSet::DirtyCardQueueSet(bool notify_when_complete) : PtrQueueSet(notify_when_complete), _mut_process_closure(NULL), _free_ids(NULL), _processed_buffers_mut(0), _processed_buffers_rs_thread(0) { + _shared_dirty_card_queue = DirtyCardQueue(this, true /*perm*/); _all_active = true; } // Determines how many mutator threads can process the buffers in parallel. uint DirtyCardQueueSet::num_par_ids() {