You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instrument jl_gc_big_alloc() when called from generated code for Allocations Profiler (#44043)
* Instrument jl_gc_big_alloc() when called from generated code for Allocations Profiler
Add _maybe_record_alloc_to_profile() call into jl_gc_big_alloc() to
allow us to instrument it in the Allocations Profiler.
Followup to #43868
Finishes fixing #43688 (gets the stacks, though not the types, of big allocs).
-----
- Rename jl_gc_big_alloc to jl_gc_big_alloc_inner, make it inlined
- add jl_gc_pool_alloc_noinline that calls jl_gc_big_alloc_inner
- replace all internal calls to jl_gc_big_alloc to call this instead
- add a new jl_gc_pool_alloc that calls jl_gc_big_alloc_inner
- This one is instrumented, and is meant to be called by generated
code.
Co-authored-by: Pete Vilter <7341+vilterp@users.noreply.github.com>
0 commit comments