diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-13 09:54:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 12:54:41 -0500 |
commit | 6246788bc47b5d28e3c612479a2986d84f2aa589 (patch) | |
tree | 2a09d2bf3158d0864eb0d4d459c82c645ce84e7c /yjit/Cargo.lock | |
parent | bc8ba244b8524c8537eda4ca79f880312c8f4528 (diff) | |
download | ruby-6246788bc47b5d28e3c612479a2986d84f2aa589.tar.gz |
YJIT: Instrument global allocations on stats build (#6712)
* YJIT: Instrument global allocations on stats build
* Just use GLOVAL_ALLOCATOR.stats()
Diffstat (limited to 'yjit/Cargo.lock')
-rw-r--r-- | yjit/Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yjit/Cargo.lock b/yjit/Cargo.lock index e9a59cb771..08ae1bd487 100644 --- a/yjit/Cargo.lock +++ b/yjit/Cargo.lock @@ -35,8 +35,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21a41fed9d98f27ab1c6d161da622a4fa35e8a54a8adc24bbf3ddd0ef70b0e50" [[package]] +name = "stats_alloc" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c0e04424e733e69714ca1bbb9204c1a57f09f5493439520f9f68c132ad25eec" + +[[package]] name = "yjit" version = "0.1.0" dependencies = [ "capstone", + "stats_alloc", ] |