The Garbage Collection Advantage: Improving Program Locality

Subscribers:
344,000
Published on ● Video Link: https://www.youtube.com/watch?v=aiizvgeyEqM



Duration: 35:05
63 views
0


As improvements in processor speed continue to outpace improvements in cache and memory speed, poor locality increasingly degrades performance. Because copying garbage collectors move objects, they have an opportunity to improve locality. However, no static copying order is guaranteed to match program traversal orders. This paper introduces online object reordering (OOR) which includes a new dynamic, online class analysis for Java that detects program traversal patterns and exploits them in a copying collector. OOR uses run-time method sampling that drives just-in-time (JIT) compilation. For each hot (frequently executed) method, OOR analysis identifies the hot field accesses. At garbage collection time, the OOR collector then copies referents of hot fields together with their parent. Enhancements include static analysis to exclude accesses in cold basic blocks, heuristics that decay heat to respond to phase changes, and a separate space for hot objects. The overhead of OOR is on average negligible and always less than 2. More troubling is the absence of a consistent winner. In contrast, OOR matches or improves upon the best static order since its history-based copying tunes memory layout to program traversal.




Other Videos By Microsoft Research


2016-09-05Anomalous Diffusion and Polya Recurrence
2016-09-05Designing for Intimacy: Interaction Research at the Human Communication Technologies Laboratory
2016-09-05Breaking the Frame: Novel Strategies for Interactive Computer Graphics [1/33]
2016-09-05Single and Multiple Document Summarization with Graph-based Ranking Algorithms
2016-09-05Sharp thresholds for random constraint satisfaction problems [1/3]
2016-09-05A Unification of Menger's and Edmonds' Theorems and Network Coding Theorems
2016-09-05Statistical Learning and Analysis for Unconstrained Face Recognition
2016-09-05A Novel Approach to Sequence Analysis using Assign-SBTTM Software Improves Heterozygous Base Calling
2016-09-05Convergence in competitive Games
2016-09-05Recovering Human Shape and Motion from Video Sequences
2016-09-05The Garbage Collection Advantage: Improving Program Locality
2016-09-05Space Elevator ΓÇô Fiction, Fact, and Progress Reports on required Robotics and Carbon NanoTube
2016-09-05Bridging Computer Science and Behavioral Science: Research Examples
2016-09-05Overview of the Science Fiction Museum
2016-09-05Formal Commercial Contracts
2016-09-05Parameterized Model Checking of Protocols: Two Developments
2016-09-05A Sample of Monte Carlo Methods in Robotics and Vision
2016-09-05Virtual Customer Environments & Customer Involvement in Innovation and Value Creation
2016-09-05Large Margin Generative Models
2016-09-05Strategies for Enhancing Ethnic and Gender Diversity in Engineering and Computer Science
2016-09-05DRM and MSFT: a product no customer wants



Tags:
microsoft research