Merge "Make IMM#peekInstance() thread-safe"