Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build, chakrashim: added shim for v8::HeapStatistics::external_memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton authored and boingoing committed Nov 15, 2018
1 parent 27b1486 commit 7452494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/chakrashim/include/v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -2812,6 +2812,7 @@ class V8_EXPORT HeapStatistics {
size_t used_heap_size() { return used_heap_size_; }
size_t heap_size_limit() { return heap_size_limit_; }
size_t malloced_memory() { return malloced_memory_; }
size_t external_memory() { return external_memory_; }
size_t peak_malloced_memory() { return peak_malloced_memory_; }
size_t does_zap_garbage() { return does_zap_garbage_; }

Expand All @@ -2823,6 +2824,7 @@ class V8_EXPORT HeapStatistics {
size_t used_heap_size_;
size_t heap_size_limit_;
size_t malloced_memory_;
size_t external_memory_;
size_t peak_malloced_memory_;
bool does_zap_garbage_;

Expand Down

0 comments on commit 7452494

Please sign in to comment.