Publication | Closed Access
Supporting exception handling for futures in Java
23
Citations
26
References
2007
Year
Unknown Venue
EngineeringDirective-based Lazy FuturesComputer ArchitectureSoftware EngineeringFault ToleranceConcurrent SystemFault-tolerant MessagingSoftware AnalysisFormal VerificationSerial ProgramReliability EngineeringConcurrency (Computer Science)Systems EngineeringParallel ComputingNew DirectiveConcurrent ProgrammingComputer EngineeringComputer ScienceReal-time JavaSoftware DesignException HandlingProgram AnalysisSoftware TestingFormal MethodsParallel ProgrammingConcurrent Data StructureFault InjectionSystem Software
A future is a simple and elegant construct that programmers can use to identify potentially asynchronous computation and to introduce parallelism into serial programs. In its recent 5.0 release, Java provides an interface-based implementation of futures that enables users to encapsulate potentially asynchronous computation and to define their own execution engines for futures. In prior work, we have proposed an alternative model, called directive-based lazy futures (DBLFutures), to support futures in Java, that simplifies Java programmer effort and improves performance and scalability of future-based applications. In the DBLFuture model, programmers use a new directive, "@future", to specify potentially concurrent computations within a serial program. DBLFutures enable programmers to focus on the logic and correctness of a program in the serial version first, and then to introduce parallelism gradually and intuitively. Moreover, DBLFutures provide greater flexibility to the Java virtual machine for efficient future support.
| Year | Citations | |
|---|---|---|
Page 1
Page 1