首页> 外国专利> Thread rendezvous for read-only code in an object-oriented computing enviroment

Thread rendezvous for read-only code in an object-oriented computing enviroment

机译:面向对象计算环境中的只读代码的线程集合

摘要

Techniques for assuring thread rendezvous for a plurality of threads executing in a computing system are disclosed. Techniques can be used to assure thread rendezvous for read-only code in a manner that is more efficient than polling techniques. A Light-weight, Yet Trappable On Demand (LYTOD) instruction can be generated for code that is executed by one or more threads. Typically, a LYTOD instruction is generated at critical points of the code in order to assure safe-point thread rendezvous. The LYTOD is a lightweight instruction that can change its behavior from a lightweight instruction to an instruction that causes a trap when executed. The LYTOD can, for example, be implemented as a read-from-memory instruction that operates to load a register with a content of a valid memory location.
机译:公开了用于确保在计算系统中执行的多个线程的线程集合点的技术。可以使用技术以比轮询技术更有效的方式来确保只读代码的线程集合。可以为一个或多个线程执行的代码生成轻量级但可按需捕获的指令(LYTOD)。通常,在代码的关键点生成LYTOD指令,以确保安全点线程会合。 LYTOD是一种轻量级指令,可以将其行为从轻量级指令更改为在执行时导致陷阱的指令。 LYTOD可以实现为例如从存储器读取的指令,该指令用于向寄存器加载有效存储器位置的内容。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号