the processRecords field should probably be final to guarantee its visibility to all threads. (JMM)