首页> 外文会议>International Conference on Integrated Formal Methods >Safe Commits for Transactional Featherweight Java
【24h】

Safe Commits for Transactional Featherweight Java

机译:事务羽量级java的安全提交

获取原文

摘要

Transactions are a high-level alternative for low-level concurrency-control mechanisms such as locks, semaphores, monitors. A recent proposal for integrating transactional features into programming languages is Transactional Featherweight Java (TFJ), extending Featherweight Java by adding transactions. With support for nested and multi-threaded transactions, its transactional model is rather expressive. In particular, the constructs governing transactions -to start and to commit a transaction- can be used freely with a non-lexical scope. On the downside, this flexibility also allows for an incorrect use of these constructs, e.g., trying to perform a commit outside any transaction. To catch those kinds of errors, we introduce a static type and effect system for the safe use of transactions for TFJ. We prove the soundness of our type system by subject reduction.
机译:交易是低级并发控制机制的高级替代方案,如锁,信号量,监视器。最近将事务性功能集成到编程语言中的一个提议是通过添加事务扩展羽宽的Java的事务羽量级Java(TFJ)。通过支持对嵌套和多线程交易,其事务模型是相当富有表现力的。特别是,管理交易的构建体 - 要启动和提交事务 - 可以通过非词汇范围自由使用。在缺点方面,这种灵活性还允许对这些构造的使用不正确使用,例如,尝试在任何交易之外执行提交。要捕获这些错误,我们介绍了静态类型和效果系统,以便安全使用TFJ交易。我们通过缩减来证明我们类型系统的声音。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号