首页 | 官方网站   微博 | 高级检索  
     


A New Type System for JVM Lock Primitives
Authors:Futoshi Iwama  Naoki Kobayashi
Affiliation:(1) Tohoku University, Aramaki aza Aoba 09, Aoba-ku Sendai Miyagi-pref 980-8579, Japan
Abstract:A bytecode verifier for the Java virtual machine language (JVML) statically checks that bytecode does not cause any fatal error. 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 guarantees 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. We have implemented a prototype Java bytecode verifier based on the type system. We have tested the verifier for several classes in the Java run time library and confirmed that the verifier runs efficiently and gives correct answers.
Contact Information Naoki KobayashiEmail:
Keywords:Type System  Java Bytecode Verifier  Lock
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号