Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocation Profiler: Types for all allocations #50333

Closed
wants to merge 4 commits into from

Commits on Jun 28, 2023

  1. Allocation Profiler: Types for all allocations

    Before this PR, we were missing the types for allocations in two cases:
    1. allocations from codegen
    2. allocations in gc_managed_realloc_
    
    The second one is easy: those are always used for `buffer`s, right?
    
    For the first one: this PR adds a new exported julia function, which codegen will call after every allocation, to record the allocation and set its type.
    NHDaly committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    3f475fe View commit details
    Browse the repository at this point in the history
  2. Fixups

    NHDaly committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    8961c26 View commit details
    Browse the repository at this point in the history
  3. Fix missing type cast

    NHDaly committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    03f049e View commit details
    Browse the repository at this point in the history
  4. Add a test for BufferTypes

    NHDaly committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    c560b27 View commit details
    Browse the repository at this point in the history