【24h】

A new type system for JVM lock primitives

机译:一种用于JVM锁原语的新型系统

获取原文
获取原文并翻译 | 示例

摘要

A bytecode verifier for the Java virtual machine language (JVML) checks that bytecode does not cause any fatal error before the code is executed. However, the present verifier does not check correctness of the usage of lock primitives. To solve this problem, we extend Stata and Abadi's type system for JVML by augmenting types with information about how each object is locked and unlocked. The resulting type system can guarantee that when a thread terminates it has released all the locks it has acquired and that a thread releases a lock only if it has acquired the lock previously.
机译:Java虚拟机语言(JVML)的字节码验证程序在执行代码之前检查字节码是否不会导致任何致命错误。然而,本验证者不检查锁原语的使用的正确性。为了解决这个问题,我们通过使用有关每个对象如何锁定和解锁的信息来扩展类型,从而扩展了Stata和Abadi的JVML类型系统。生成的类型系统可以保证,当线程终止时,它释放了它已获取的所有锁,并且仅当线程先前已获取了锁时,线程才释放锁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号