• Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).

    同步方法代码允许线程入口处锁定对象出口处解锁(针对方法代码)。

    youdao

  • Thread 1 exits the synchronized block and returns instance from the getInstance() method.

    线程1退出synchronizedgetInstance()方法返回实例

    youdao

  • In WebSphere Process Server V7, the method to claim a task USES a query table and combines the query and claim methods previously used to eliminate the need for the synchronized block.

    WebSphereProcessServerv 7中声明任务方法一个查询表结合早期用于消除同步需求查询声明方法

    youdao

  • As more advanced JVMs have emerged, the cost of synchronization has decreased, but there is still a performance penalty for entering and leaving a synchronized method or block.

    随着高级JVM出现同步代价降低出入synchronized方法仍然性能损失

    youdao

  • A lock is acquired on entry to a synchronized method or block, and released on exit, even if the exit occurs due to an exception.

    进入一个同步方法同步的时候必须获得该退出的时候(即使异常退出)必须释放这个锁。

    youdao

  • A lock is acquired on entry to a synchronized method or block, and released on exit, even if the exit occurs due to an exception.

    进入一个同步方法同步的时候必须获得该退出的时候(即使异常退出)必须释放这个锁。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定