Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Efficient object sampling via weak references

Published: 16 October 2000 Publication History

Abstract

The performance of automatic memory management may be improved if the policies used in allocating and collecting objects had knowledge of the lifetimes of objects. To date, approaches to the pretenuring of objects in older generations have relied on profile-driven feedback gathered from trace runs. This feedback has been used to specialize allocation sites in a program. These approaches suffer from a number of limitations. We propose an alternative that through efficient sampling of objects allows for on-line adaption of allocation sites to improve the efficiency of the memory system. In doing so, we make use of a facility already present in many collectors such as those found in Java™ virtual machines: weak references. By judiciously tracking a subset of allocated objects with weak references, we are able to gather the necessary statistics to make better object-placement decisions.

Cited By

View all
  • (2013)Profiling Field Initialisation in JavaRuntime Verification10.1007/978-3-642-35632-2_28(292-307)Online publication date: 2013
  • (2007)Aspect-Based Instrumentation for Locating Memory Leaks in Java ProgramsProceedings of the 31st Annual International Computer Software and Applications Conference - Volume 0210.1109/COMPSAC.2007.79(23-28)Online publication date: 24-Jul-2007
  • (2016)Directed test generation to detect loop inefficienciesProceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering10.1145/2950290.2950360(895-907)Online publication date: 1-Nov-2016
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 36, Issue 1
Jan 2001
177 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/362426
Issue’s Table of Contents
  • cover image ACM Conferences
    ISMM '00: Proceedings of the 2nd international symposium on Memory management
    October 2000
    178 pages
    ISBN:1581132638
    DOI:10.1145/362422
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 October 2000
Published in SIGPLAN Volume 36, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)57
  • Downloads (Last 6 weeks)10
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2013)Profiling Field Initialisation in JavaRuntime Verification10.1007/978-3-642-35632-2_28(292-307)Online publication date: 2013
  • (2007)Aspect-Based Instrumentation for Locating Memory Leaks in Java ProgramsProceedings of the 31st Annual International Computer Software and Applications Conference - Volume 0210.1109/COMPSAC.2007.79(23-28)Online publication date: 24-Jul-2007
  • (2016)Directed test generation to detect loop inefficienciesProceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering10.1145/2950290.2950360(895-907)Online publication date: 1-Nov-2016
  • (2016)Efficient flow profiling for detecting performance bugsProceedings of the 25th International Symposium on Software Testing and Analysis10.1145/2931037.2931066(413-424)Online publication date: 18-Jul-2016
  • (2011)Reducing biased lock revocation by learningProceedings of the 6th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems10.1145/2069172.2069179(1-10)Online publication date: 26-Jul-2011
  • (2010)Understanding the impact of collection contracts on designProceedings of the 48th international conference on Objects, models, components, patterns10.5555/1894386.1894390(61-78)Online publication date: 28-Jun-2010
  • (2010)Headroom-based pretenuringProceedings of the 8th International Conference on the Principles and Practice of Programming in Java10.1145/1852761.1852767(29-38)Online publication date: 15-Sep-2010
  • (2010)Efficient runtime tracking of allocation sites in JavaACM SIGPLAN Notices10.1145/1837854.173601445:7(109-120)Online publication date: 17-Mar-2010
  • (2010)Efficient runtime tracking of allocation sites in JavaProceedings of the 6th ACM SIGPLAN/SIGOPS international conference on Virtual execution environments10.1145/1735997.1736014(109-120)Online publication date: 17-Mar-2010
  • (2010)Understanding the Impact of Collection Contracts on DesignObjects, Models, Components, Patterns10.1007/978-3-642-13953-6_4(61-78)Online publication date: 2010
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media