You can probably move this line to be below m_processor.getAndSet() so you can get rid of the null check.