Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: src/isolate.cc

Issue 2085893002: [heap] Internalize kExternalAllocationLimit (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Initialize limit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index b8437dbd15abece48490dcf3baf333f44276293e..f9e87bfaba6e92d393701edc1f4037e55c4f8937 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2312,13 +2312,10 @@ bool Isolate::Init(Deserializer* des) {
Internals::kIsolateEmbedderDataOffset);
CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)),
Internals::kIsolateRootsOffset);
- CHECK_EQ(static_cast<int>(
- OFFSET_OF(Isolate, heap_.amount_of_external_allocated_memory_)),
- Internals::kAmountOfExternalAllocatedMemoryOffset);
- CHECK_EQ(static_cast<int>(OFFSET_OF(
- Isolate,
- heap_.amount_of_external_allocated_memory_at_last_global_gc_)),
- Internals::kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset);
+ CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.external_memory_)),
+ Internals::kExternalMemoryOffset);
+ CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.external_memory_limit_)),
+ Internals::kExternalMemoryLimitOffset);
time_millis_at_init_ = heap_.MonotonicallyIncreasingTimeInMs();
« no previous file with comments | « src/heap/mark-compact.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698