Quasi-Static Scheduling for Safe Futures

被引:13
|
作者
Navabi, Armand [1 ]
Zhang, Xiangyu [1 ]
Jagannathan, Suresh [1 ]
机构
[1] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
基金
美国国家科学基金会;
关键词
concurrency control; future; static program analysis;
D O I
10.1145/1345206.1345212
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Migrating sequential programs to effectively utilize next generation multicore architectures is a key challenge facing application developers and implementors. Languages like Java that support complex control- and dataflow abstractions confound classical automatic parallelization techniques. On the other hand, introducing multithreading and concurrency control explicitly into programs can impose a high conceptual burden on the programmer, and may entail a significant rewrite of the original program. In this paper, we consider a new technique to address this issue. Our approach makes use of futures, a simple annotation that introduces asynchronous concurrency into Java programs, but provides no concurrency control. To ensure concurrent execution does not yield behavior inconsistent with sequential execution (i.e., execution yielded by erasing all futures), we present a new inter-procedural summary-based dataflow analysis. The analysis inserts lightweight barriers that block and resume threads executing futures if a dependency violation may ensue. There are no constraints on how threads execute other than those imposed by these barriers. Our experimental results indicate futures can be leveraged to transparently ensure safety and profitably exploit parallelism; in contrast to earlier efforts, our technique is completely portable, and requires no modifications to the underlying JVM.
引用
收藏
页码:23 / 32
页数:10
相关论文
共 50 条
  • [21] A theory of the quasi-static world
    Sanders, BCS
    Nelson, RC
    Sukthankar, R
    [J]. 16TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOL III, PROCEEDINGS, 2002, : 1 - 6
  • [22] QUASI-STATIC CRACKING IN POLYCARBONATE
    MAI, YW
    [J]. INTERNATIONAL JOURNAL OF FRACTURE, 1973, 9 (03) : 349 - 351
  • [23] Quasi-static brittle fracture
    Pfaendtner, JA
    Muthiah, RC
    McMahon, CJ
    [J]. FRACTURE AND DUCTILE VS. BRITTLE BEHAVIOR-THEORY, MODELLING AND EXPERIMENT, 1999, 539 : 313 - 318
  • [24] ON THE QUASI-STATIC THEORY OF VISCOELASTICITY
    REISS, EL
    [J]. ARCHIVE FOR RATIONAL MECHANICS AND ANALYSIS, 1961, 7 (05) : 402 - 411
  • [25] QUASI-STATIC GROWTH OF CRACKS
    CHUDNOVSKII, AI
    DUNAEVSKII, VA
    KHANDOGIN, VA
    [J]. ARCHIVES OF MECHANICS, 1978, 30 (02): : 165 - 174
  • [26] Quasi-static brittle fracture
    Dept. of Materials Science and Engineering, Univ. of Pennsylvania, Philadelphia, PA 19104, United States
    不详
    不详
    [J]. Mater Res Soc Symp Proc, (313-318):
  • [27] QUASI-STATIC ADHESIVE FRACTURE
    MAI, YW
    [J]. JOURNAL OF ADHESION, 1975, 7 (02): : 141 - 153
  • [28] Static and quasi-static calibration of a bioMEMS device
    Slifka, AJ
    Panchawagh, H
    Mahajan, RL
    Finch, D
    Rorrer, RAL
    [J]. BIOMEDICAL SCIENCES INSTRUMENTATION, VOL 40, 2004, 449 : 429 - 434
  • [29] Nonlinear quasi-static poroelasticity
    Bociu, Lorena
    Webster, Justin T.
    [J]. JOURNAL OF DIFFERENTIAL EQUATIONS, 2021, 296 : 242 - 278
  • [30] Quasi-static large deviations
    De Masi, Anna
    Olla, Stefano
    [J]. ANNALES DE L INSTITUT HENRI POINCARE-PROBABILITES ET STATISTIQUES, 2020, 56 (01): : 524 - 542