Cultural advice

The Australian National University acknowledges, celebrates and pays our respects to the Ngunnawal and Ngambri people of the Canberra region and to all First Nations Australians on whose traditional lands we meet and work, and whose cultures are among the oldest continuing cultures in human history.

Aboriginal and Torres Strait Islander peoples are advised that ANU Library collections may include images, names, voices, and other representations of deceased persons.

Material in the collection may contain terms, language or views that reflect the period in which the item was created and may be considered inappropriate today.

Barriers: Friend or Foe

dc.contributor.authorBlackburn, Stephen
dc.contributor.authorHosking, Anthony
dc.date.accessioned2015-12-13T22:38:09Z
dc.date.available2015-12-13T22:38:09Z
dc.date.createdOctober 24 2004
dc.date.issued2004
dc.date.updated2015-12-11T09:41:19Z
dc.description.abstractModem garbage collectors rely on read and write barriers imposed on heap accesses by the mutator, to keep track of references between different regions of the garbage collected heap, and to synchronize actions of the mutator with those of the collector. It has been a long-standing untested assumption that barriers impose significant overhead to garbage-collected applications. As a result, researchers have devoted effort to development of optimization approaches for elimination of unnecessary barriers, or proposed new algorithms for garbage collection that avoid the need for barriers while retaining the capability for independent collection of heap partitions. On the basis of the results presented here, we dispel the assumption that barrier overhead should be a primary motivator for such efforts. We present a methodology for precise measurement of mutator overheads for barriers associated with mutator heap accesses. We provide a taxonomy of different styles of barrier and measure the cost of a range of popular barriers used for different garbage collectors within Jikes RVM. Our results demonstrate that barriers impose surprisingly low cost on the mutator, though results vary by architecture. We found that the average overhead for a reasonable generational write barrier was less than 2% on average, and less than 6% in the worst case. Furthermore, we found that the average overhead of a read barrier consisting of just an unconditional mask of the low order bits read on the PowerPC was only 0.85%, while on the AMD it was 8.05%. With both read and write barriers, we found that second order locality effects were sometimes more important than the overhead of the barriers themselves, leading to counter-intuitive speedups in a number of situations.
dc.identifier.isbn1581139454
dc.identifier.urihttp://hdl.handle.net/1885/77417
dc.publisherAssociation for Computing Machinery Inc (ACM)
dc.relation.ispartofseriesACM SIGPLAN International Symposium on Memory Management (ISMM 2004)
dc.sourceProceedings of the 4th international symposium on Memory management
dc.source.urihttp://portal.acm.org/toc.cfm?id=1029873&type=proceeding&coll=portal&dl=ACM&CFID=42095896&CFTOKEN=67463507
dc.source.urihttp://delivery.acm.org/10.1145/1030000/1029891/p143-blackburn.pdf?key1=1029891&key2=1089852111&coll=portal&dl=ACM&CFID=42095896&CFTOKEN=67463507
dc.subjectKeywords: Algorithms; Java programming language; Object oriented programming; Optimization; Program compilers; Program processors; Garbage collection; Memory management; Write barriers; Data storage equipment Garbage collection; Java; Memory management; Write barriers
dc.titleBarriers: Friend or Foe
dc.typeConference paper
local.bibliographicCitation.lastpage151
local.bibliographicCitation.startpage143
local.contributor.affiliationBlackburn, Stephen, College of Engineering and Computer Science, ANU
local.contributor.affiliationHosking, Anthony, Purdue University
local.contributor.authoruidBlackburn, Stephen, u3789498
local.description.notesImported from ARIES
local.description.refereedYes
local.identifier.absfor080499 - Data Format not elsewhere classified
local.identifier.ariespublicationMigratedxPub6278
local.identifier.scopusID2-s2.0-21644451308
local.type.statusPublished Version

Downloads

abcd