Details
Description
the VMTransport.getMessageQueue() method uses the "double checked locking" idiom to avoid the synchronization overhead if the messageQueue has already been instantiated. however, this idiom is broken unless the reference is marked as volatile.