9 research outputs found
The JCilk-1 runtime system
Thesis (M. Eng.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2005.Includes bibliographical references (p. 93-97).JCilk extends the Java language to provide call-return semantics for multithreading, much as Cilk does for C. Java's built-in thread model does not support the passing of exceptions or return values from one thread back to the "parent" thread that created it. JCilk imports Cilk's fork-join primitives spawn and sync into Java to provide procedure-call semantics for concurrent subcomputations. It also introduces exceptions into that fork-join structure, leading to some some surprising semantic synergies. In particular, JCilk extends Java's exception semantics to allow exceptions to be passed from a spawned method to its parent in a natural way that obviates the need for Cilk's inlet and abort constructs. When executing in parallel, an exception thrown by a JCilk computation signals its "side computations" to abort, which yields a clean semantics in which only a single exception from the enclosing try block is handled. Because JCilk uses Java's normal exception mechanism to propagate an abort throughout the side computations, the programmer can handle clean-up by simply catching a thrown CilkAbort exception.(cont.) JCilk supports these features by introducing the concept of a "catchlet" as a mechanism for handling exceptions in a concurrent context. In my work, I have implented a runtime system for JCilk which uses a tree structure to track the dynamic state of nested try blocks. Using this tree, the runtime system is able to signal aborts to the proper side computations and determine when the catch block is able to run. The result is an efficient implementation of the JCilk specification.by John Danaher.M.Eng
Recommended from our members
Developing a culminating assessment for psychology undergraduate students
The purpose of this project was to create a comprehensive exam for a California State University to measure student learning in Psychology within a multi-matrix method Outcomes Assessment process
Lawrence University Course Catalog, 2022-2023
https://lux.lawrence.edu/coursecatalogs/1020/thumbnail.jp
Lawrence University Course Catalog, 2021-2022
https://lux.lawrence.edu/coursecatalogs/1019/thumbnail.jp
Lawrence University Course Catalog, 2020-2021
https://lux.lawrence.edu/coursecatalogs/1018/thumbnail.jp
Second Conference on Artificial Intelligence for Space Applications
The proceedings of the conference are presented. This second conference on Artificial Intelligence for Space Applications brings together a diversity of scientific and engineering work and is intended to provide an opportunity for those who employ AI methods in space applications to identify common goals and to discuss issues of general interest in the AI community
2009 - 2010 University Catalog
Volume 99, Number 1, October 30, 2009
Published once a year, October 30, 2009https://scholarsrepository.llu.edu/univcatalog/1011/thumbnail.jp