A type system for JVM threads
β Scribed by Cosimo Laneve
- Book ID
- 104325463
- Publisher
- Elsevier Science
- Year
- 2003
- Tongue
- English
- Weight
- 329 KB
- Volume
- 290
- Category
- Article
- ISSN
- 0304-3975
No coin nor oath required. For personal study only.
β¦ Synopsis
The current deΓΏnition of the Java bytecode veriΓΏer, as well as the proposals to formalize it, does not include any check about the structured use of locks by monitorenter and monitorexit instructions. So code is run, even if critical sections are corrupted. In this paper, we isolate a sublanguage of the Java Virtual Machine with thread creation and mutual exclusion. For this subset, we deΓΏne a semantics and a formal veriΓΏer that enforces basic properties of threads and lock and unlock operations. The veriΓΏer integrates well with previous formalizations of the Java bytecode veriΓΏer. Our analysis of structured use of locks reveals the presence of bugs in the current compilers from Sun, IBM and Microsoft.
π SIMILAR VOLUMES