jiangdm的个人博客分享 http://blog.sciencenet.cn/u/jiangdm

博文

review: Goldilocks: A Race-Aware Java Runtime

已有 2637 次阅读 2012-8-5 09:05 |个人分类:language|系统分类:科研笔记

Goldilocks:  A Race-Aware Java Runtime
By Tayfun Elmas, Shaz Qadeer, and Serdar Tasiran
november 2010 | vol. 53 | no. 11 | communications of the acm 85
 

Abstract
 We present Goldilocks, a Java runtime that monitors program executions and throws a DataRaceException when a data race is about to occur. This prevents racy accesses from taking place, and allows race conditions to
be handled before they cause errors that may be difficult to diagnose later. The DataRaceException is a valuable debugging tool, and, if supported with reasonable computational overhead, can be an important safety feature for
deployed programs. Experiments by us and others on raceaware Java runtimes indicate that the DataRaceException
may be a viable mechanism to enforce the safety of executions of multithreaded Java programs.
 An important benefit of DataRaceException is that executions in our runtime are guaranteed to be race free
and thus sequentially consistent as per the Java Memory Model. This strong guarantee provides an easy-to-use, clean semantics to programmers, and helps to rule out many concurrency-related possibilities as the cause of errors. To support the DataRaceException, our runtime incorporates the novel Goldilocks algorithm for precise dynamic race detection. The Goldilocks algorithm is general, intuitive, and can handle different synchronization patterns uniformly.

1. INTRODUCTION
 


https://blog.sciencenet.cn/blog-468147-599176.html

上一篇:review: Automatic Annotation of Web Services Based on Workfl
下一篇:review: Big Data, Global Development, and Complex Social
收藏 IP: 182.85.170.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-21 23:14

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部