Write a Blog >>
Mon 19 Jun 2017 11:30 - 12:00 at Vertex WS217 - Morning Session

This talk will recap our paper from ICSE 2013 with an abstract available in a one minute video on YouTube: https://www.youtube.com/watch?v=3MkSMgqRhg0 . Having worked on Aliasing, Confinement, and Ownership and more recently on Aliasing, Capabilities, and Ownership a question arose: “What If We Actually Implement It?”. And so we did, to be able to measure and show everyone how costly it all really is. Random questions throughout the talk from the audience on the quality of Java corpora currently in existence, on the frequency of developer costs being taken into account in type checking research, and what it all has to do with power laws are welcome. The original text version of the abstract of the ICSE paper is reiterated for your convenience in the following paragraph.

Object ownership enforces encapsulation within object-oriented programs by forbidding incoming aliases into objects’ representations. Many common data structures, such as collections with iterators, require incoming aliases, so there has been much work on relaxing ownership’s encapsulation to permit multiple incoming aliases. This research asks the opposite question: Are your aliases really necessary? In this paper, we count the cost of programming with strong object encapsulation. We refactored the JDK 5.0 collection classes so that they did not use incoming aliases, following either the owner-as-dominator or the owner-as-accessor encapsulation discipline. We measured the performance time overhead the refactored collections impose on a set of microbenchmarks and on the DaCapo, SPECjbb and SPECjvm benchmark suites. While the microbenchmarks show that individual operations and iterations can be significantly slower on encapsulated collection (especially for owner-as-dominator), we found less than 3% slowdown for owner-as-accessor across the large scale benchmarks. As a result, we propose that well-known design patterns such as Iterator commonly used by software engineers around the world need to be adjusted to take ownership into account. As most design patterns are used as a building block in constructing larger pieces of software, a small adjustment to respect ownership will not have any impact on the productivity of programmers but will have a huge impact on the quality of the resulting code with respect to aliasing.

I am an Associate Professor at the Australian National University in Canberra, Australia. I completed my PhD in programming languages in 2007 and worked as a lecturer/professor at Victoria University of Wellington until 2022. During my studies, I took short breaks to work as a Visiting Researcher at Purdue University and a Software Engineer at two Wellington start-ups. I spent 2013 on a sabbatical at Carnegie Mellon University in Pittsburgh, PA, USA. I spent the winter of 2019/2020 on a sabbatical at Kyoto University in Japan.

Mon 19 Jun

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

11:00 - 12:30
Morning SessionIWACO at Vertex WS217
11:00
30m
Talk
Spencer: Tracing as a Service
IWACO
Stephan Brandauer Uppsala University
11:30
30m
Talk
Are Your Incoming Aliases Really Necessary? Remembering the Cost of Object Ownership.
IWACO
Alex Potanin Victoria University of Wellington
12:00
30m
Talk
Reference Capabilities in Practice: Examining Real-World Pony Code
IWACO
Sylvan Clebsch Imperial College London