Use a different object for locks so we don't trigger class initialization while getting the class object while pushing a class initialization frame.