-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
v8: adding total_allocated_bytes to HeapStatistics #60573
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
v8: adding total_allocated_bytes to HeapStatistics #60573
Conversation
611be50 to
0f52825
Compare
|
The subsystem should be |
0f52825 to
b198157
Compare
Changed. Thanks! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60573 +/- ##
==========================================
+ Coverage 88.55% 88.56% +0.01%
==========================================
Files 704 704
Lines 207981 208075 +94
Branches 40068 40080 +12
==========================================
+ Hits 184173 184281 +108
+ Misses 15854 15831 -23
- Partials 7954 7963 +9
🚀 New features to boost your workflow:
|
|
Hi all, thank you very much for the reviews here. Looking into those failures, they seem unrelated to my patch. Could anybody trigger CI again to me, please? |
|
Landed in ed6569c |
|
Thank you very much! |
This PR adds to Node's HeapStatistics API a new field called
total_allocated_bytesthat contains the total bytes allocated since the creation of an isolate. This extension comes from the extension added recently in V8 on v8/v8@fe81545. The major use case for this information is to allow creating of regression tests tracking allocations.