Synchronization in the core JLS packages.
核心JLS包中的同步。
The JLS spells out the sequence explicitly.
JLS明确给出了这一顺序。
The RTSJ extends the core capabilities of the JLS in a number of ways.
RTSJ 用多种方式扩展了JLS的核心功能。
Thread scheduling in the JLS is imprecise and provides only 10 priority values.
JLS中的线程调度并不精确而且只提供了10个优先级值。
The JLS doesn't specify how these queues are managed, but the RTSJ does stipulate the behavior.
JLS没有指定如何管理这些队列,但是RTSJ规定了这个行为。
According to the JLS, because stop and num are declared volatile, they should be sequentially consistent.
根据JLS,由于stop和num被声明为volatile,它们应该顺序一致。
While the JLS gives us tools with which we can make our programs thread-safe, thread-safety does not come free.
虽然JLS给了我们可以使我们的程序线程安全的工具,但线程安全也不是天上掉下来的馅饼。
Now, JLS has invented the environment friendly low-smoke halogen-free compound for cable to meet the customers' demands.
现在我公司又全新推出了环保型低烟无卤电缆料满足客户的需求。
Hangzhou JLS flame retardants Chemical co., Ltd. is a special corporation for exploring and manufacturing flame retardants.
杭州捷尔思阻燃化工有限公司是一家专业从事阻燃剂开发和生产的高新技术企业。
It is a commonly held belief that you do not need to acquire a lock to simply read an object's fields, especially since the JLS guarantees that 32-bit reads will be atomic.
有一种普遍的观点是,如果只是要读一个对象的字段,不需要请求加锁,尤其是在JLS保证了32位读操作的原子性的情况下,它更是如此。
For example, arithmetic expression evaluation is performed in left-to-right order (JLS section 15.6) as viewed by the thread performing the operations, but not necessarily as viewed by other threads.
例如,算术表达式的计算在线程内看来是从左到右地执行操作(JLS 15.6章节),而这种执行效果是没有必要被其他线程观察到的。
For example, arithmetic expression evaluation is performed in left-to-right order (JLS section 15.6) as viewed by the thread performing the operations, but not necessarily as viewed by other threads.
例如,算术表达式的计算在线程内看来是从左到右地执行操作(JLS 15.6章节),而这种执行效果是没有必要被其他线程观察到的。
应用推荐