Skip to content

Commit fdaa365

Browse files
addaleaxBethGriggs
authored andcommitted
deps: V8: stub backport 65238018ca4b and 8d08318e1a85
Refs: v8/v8@6523801 Refs: v8/v8@8d08318 PR-URL: #32885 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
1 parent 8198e78 commit fdaa365

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# Reset this number to 0 on major V8 upgrades.
3737
# Increment by one for each non-official patch applied to deps/v8.
38-
'v8_embedder_string': '-node.27',
38+
'v8_embedder_string': '-node.28',
3939

4040
##### V8 defaults for Node.js #####
4141

deps/v8/include/v8.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7545,6 +7545,8 @@ class V8_EXPORT HeapStatistics {
75457545
size_t total_heap_size_executable() { return total_heap_size_executable_; }
75467546
size_t total_physical_size() { return total_physical_size_; }
75477547
size_t total_available_size() { return total_available_size_; }
7548+
size_t total_global_handles_size() { return total_global_handles_size_; }
7549+
size_t used_global_handles_size() { return used_global_handles_size_; }
75487550
size_t used_heap_size() { return used_heap_size_; }
75497551
size_t heap_size_limit() { return heap_size_limit_; }
75507552
size_t malloced_memory() { return malloced_memory_; }
@@ -7572,6 +7574,8 @@ class V8_EXPORT HeapStatistics {
75727574
bool does_zap_garbage_;
75737575
size_t number_of_native_contexts_;
75747576
size_t number_of_detached_contexts_;
7577+
size_t total_global_handles_size_;
7578+
size_t used_global_handles_size_;
75757579

75767580
friend class V8;
75777581
friend class Isolate;

deps/v8/src/api/api.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5753,7 +5753,9 @@ HeapStatistics::HeapStatistics()
57535753
peak_malloced_memory_(0),
57545754
does_zap_garbage_(false),
57555755
number_of_native_contexts_(0),
5756-
number_of_detached_contexts_(0) {}
5756+
number_of_detached_contexts_(0),
5757+
total_global_handles_size_(0),
5758+
used_global_handles_size_(0) {}
57575759

57585760
HeapSpaceStatistics::HeapSpaceStatistics()
57595761
: space_name_(nullptr),

0 commit comments

Comments
 (0)