Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2823363.2823371acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
extended-abstract

Just-in-time data structures: towards declarative swap rules

Published: 26 October 2015 Publication History

Abstract

Just-in-Time Data Structures are an attempt to vulgarise the idea that changing the representation (i.e., implementation) of a data structure at runtime can improve the performance of a program compared to its counter part that relies on a single representation. In previous work, we developed a language to develop such Just-in-Time Data Structures. To express ``when'' to change between representations, a dedicated language construct was introduced: the swap rule. A swap rule analyses the state and usage of a just-in-time data structure and reacts as defined by a developer. Opposed to what the name suggest, swap rules are currently implemented as imperative statements woven into the codebase. Their intend, however, is declarative and therefore we think that swap rules should become real declarative rules. This extended abstract presents Just-in-Time Data Structures as a case for applying state-of-the-art in low overhead dynamic analysis. Changing from an imperative to a declarative implementation of swap rules will allow for more efficient execution of our programs by reducing the overhead of continuous analysis.

References

[1]
M. De Wael, S. Marr, J. De Koster, J. B. Sartor, and W. De Meuter. Just-in-time data structures. In Onward!, 2015.
[2]
O. Shacham, M. Vechev, and E. Yahav. Chameleon: Adaptive selection of collections. In proceedings of PLDI, 2009.
[3]
G. H. Xu. Coco: Sound and adaptive replacement of java collections. In proceedings of ECOOP, 2013.
[4]
Mattias De Wael is supported by a research grant of IWT, Flanders.

Cited By

View all
  • (2019)Lib Metamorphosis: A Performance Analysis Framework for Exchanging Data Structures in Performance Sensitive Applications2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)10.1109/ICSME.2019.00063(379-381)Online publication date: Sep-2019
  • (2018)C♭: a new modular approach to implementing efficient and tunable collectionsProceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software10.1145/3276954.3276956(57-71)Online publication date: 24-Oct-2018
  • (2017)Layout LockACM SIGPLAN Notices10.1145/3155284.301875352:8(17-29)Online publication date: 26-Jan-2017
  • Show More Cited By

Index Terms

  1. Just-in-time data structures: towards declarative swap rules

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    WODA 2015: Proceedings of the 13th International Workshop on Dynamic Analysis
    October 2015
    38 pages
    ISBN:9781450339094
    DOI:10.1145/2823363
    Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 26 October 2015

    Check for updates

    Author Tags

    1. Data structures
    2. algorithms
    3. dynamic reclassification
    4. performance

    Qualifiers

    • Extended-abstract

    Funding Sources

    • IWT

    Conference

    SPLASH '15
    Sponsor:

    Upcoming Conference

    ICSE 2025

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)5
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 13 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2019)Lib Metamorphosis: A Performance Analysis Framework for Exchanging Data Structures in Performance Sensitive Applications2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)10.1109/ICSME.2019.00063(379-381)Online publication date: Sep-2019
    • (2018)C♭: a new modular approach to implementing efficient and tunable collectionsProceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software10.1145/3276954.3276956(57-71)Online publication date: 24-Oct-2018
    • (2017)Layout LockACM SIGPLAN Notices10.1145/3155284.301875352:8(17-29)Online publication date: 26-Jan-2017
    • (2017)You can have it all: abstraction and good cache performanceProceedings of the 2017 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software10.1145/3133850.3133861(148-167)Online publication date: 25-Oct-2017
    • (2017)Layout LockProceedings of the 22nd ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming10.1145/3018743.3018753(17-29)Online publication date: 26-Jan-2017

    View Options

    Get Access

    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