Skip to main content

Concurrent Garbage Collection Using Hardware-Assisted Profiling

  • Chapter
Java Microarchitectures

Part of the book series: The Springer International Series in Engineering and Computer Science ((SECS,volume 679))

  • 177 Accesses

Abstract

In the presence of on-chip multithreading, a Virtual Machine (VM) can readily take advantage of service threads for enhancing performance by executing tasks such as profile collection and analysis, dynamic optimization, and garbage collection concurrently with program execution. In this context, a hardware- assisted profiling mechanism is proposed. The Relational Profiling Architecture (RPA) is designed from the top down. RPA is based on a relational model similar to the relational database model. Instructions selected for profiling produce a record of information. A simple query engine examines these records for patterns, and communicates matching records to service threads. The power and flexibility of RPA is demonstrated by developing a concurrent generational garbage collector for Java. Detailed execution-driven simulations show that this collector has an average runtime overhead of 0.6%. The short pauses in the application required for synchronization with the garbage collector are at most 53µs, given a 1GHz clock frequency.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer Science+Business Media New York

About this chapter

Cite this chapter

Heil, T., Smith, J.E. (2002). Concurrent Garbage Collection Using Hardware-Assisted Profiling. In: Narayanan, V., Wolczko, M.I. (eds) Java Microarchitectures. The Springer International Series in Engineering and Computer Science, vol 679. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-0993-6_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4615-0993-6_8

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4613-5341-6

  • Online ISBN: 978-1-4615-0993-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics