Please use this identifier to cite or link to this item:
http://hdl.handle.net/11375/25567
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.advisor | Sekerinski, Emil | - |
dc.contributor.advisor | Farmer, William M. | - |
dc.contributor.author | Yao, Shucai | - |
dc.date.accessioned | 2020-07-30T14:24:03Z | - |
dc.date.available | 2020-07-30T14:24:03Z | - |
dc.date.issued | 2020 | - |
dc.identifier.uri | http://hdl.handle.net/11375/25567 | - |
dc.description.abstract | Object-oriented programming has had a significant impact on software development because it provides programmers with a clear structure of a large system. It encapsulates data and operations into objects, groups objects into classes and dynamically binds operations to program code. With the emergence of multi-core processors, application developers have to explore concurrent programming to take full advantage of multi-core technology. However, when it comes to concurrent programming, object-oriented programming remains elusive as a useful programming tool. Most object-oriented programming languages do have some extensions for concurrency, but concurrency is implemented independently of objects: for example, concurrency in Java is managed separately with the Thread object. We employ a programming model called Lime that combines action systems tightly with object-oriented programming and implements concurrency by extending classes with actions and guarded methods. This provides programmers with a unified and straightforward design view for a concurrent object-oriented program. In this work, using coroutines with guarded methods and actions is proposed as a means of implementing the concurrency extension for objects. Mapping objects to coroutines can result in stack overflow as the number of objects increases. A dynamically segmented stack mechanism, which does not introduce runtime overhead, is implemented to support large-scale concurrency. Since Lime allows guarded methods and actions to "get stuck," a new user-level cooperative scheduler, and a fast coroutine context switch mechanism are implemented to improve the performance. Compared with the traditional segmented stack mechanisms, the new dynamically segmented stack mechanism gets equal performance for more common scenarios. Besides, it outperforms the contemporary stack mechanisms for deep recursion scenarios. Above all, Lime does not only provide the programmers with a unified and straightforward object-oriented programming model for concurrency, but also accomplishes a better performance than concurrent programming languages such as Erlang and Go, in fine-grained, highly concurrent benchmarks. | en_US |
dc.language.iso | en | en_US |
dc.subject | Synchronization, Guard-based, OOP, Stack Mechanism | en_US |
dc.title | An Efficient Implementation of Guard-Based Synchronization for an Object-Oriented Programming Language | en_US |
dc.type | Thesis | en_US |
dc.contributor.department | Computer Science | en_US |
dc.description.degreetype | Thesis | en_US |
dc.description.degree | Doctor of Philosophy (PhD) | en_US |
Appears in Collections: | Open Access Dissertations and Theses |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Yao_Shucai_202007_PhD.pdf | 1.51 MB | Adobe PDF | View/Open |
Items in MacSphere are protected by copyright, with all rights reserved, unless otherwise indicated.