Skip to main navigation Skip to search Skip to main content

Eliminating read barriers through procrastination and cleanliness

  • Purdue University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

Managed languages typically use read barriers to interpret forwarding pointers introduced to keep track of copied objects. For example, in a multicore environment with thread-local heaps and a global, shared heap, an object initially allocated on a local heap may be copied to a shared heap if it becomes the source of a store operation whose target location resides on the shared heap. As part of the copy operation, a forwarding pointer may be established in the original object to point to the copied object. This level of indirection avoids the need to update all of the references to the object that has been copied. In this paper, we consider the design of a managed runtime that eliminates read barriers. Our design is premised on the availability of a sufficient degree of concurrency to stall operations that would otherwise necessitate the copy. Stalled actions are deferred until the next local collection, avoiding exposing forwarding pointers to the mutator. In certain important cases, procrastination is unnecessary - lightweight runtime techniques can sometimes be used to allow objects to be eagerly copied when their set of incoming references is known, or when it can be determined that having multiple copies would not violate program semantics. We evaluate our techniques on 3 platforms: a 16-core AMD64 machine, a 48-core Intel SCC, and an 864-core Azul Vega 3. Experimental results over a range of parallel benchmarks indicate that our approach leads to notable performance gains (20 - 32% on average) without incurring any additional complexity.

Original languageEnglish
Title of host publicationISMM 2012 - Proceedings of the 2012 ACM SIGPLAN International Symposium on Memory Management
Pages49-60
Number of pages12
DOIs
StatePublished - 2012
Event2012 ACM SIGPLAN International Symposium on Memory Management, ISMM 2012 - Beijing, China
Duration: Jun 15 2012Jun 16 2012

Publication series

NameInternational Symposium on Memory Management, ISMM

Conference

Conference2012 ACM SIGPLAN International Symposium on Memory Management, ISMM 2012
Country/TerritoryChina
CityBeijing
Period06/15/1206/16/12

Keywords

  • Barrier elimination
  • Cleanliness
  • Concurrent programming
  • Functional languages Copyright
  • Parallel and concurrent collection
  • Private heaps

Fingerprint

Dive into the research topics of 'Eliminating read barriers through procrastination and cleanliness'. Together they form a unique fingerprint.

Cite this