看jdk源码看到的,位置

    1. /* The preceding static fields are protected by this lock */
    2. private static class Lock { };
    3. private static Object lock = new Lock();
    4. /* Lock object for the native halt method */
    5. private static Object haltLock = new Lock();