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

Unified Diff: src/isolate.h

Issue 2181333002: Print malloc-ed memory when running with --trace-gc-object-stats. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 6b2203b9bb8b622b49f36655ec95f833c253034c..84e7e5e6d9ddeca30deb72688d89be0efcbe84ad 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -869,8 +869,8 @@ class Isolate {
DCHECK(handle_scope_implementer_);
return handle_scope_implementer_;
}
- Zone* runtime_zone() { return &runtime_zone_; }
- Zone* interface_descriptor_zone() { return &interface_descriptor_zone_; }
+ Zone* runtime_zone() { return runtime_zone_; }
+ Zone* interface_descriptor_zone() { return interface_descriptor_zone_; }
UnicodeCache* unicode_cache() {
return unicode_cache_;
@@ -1134,7 +1134,7 @@ class Isolate {
interpreter::Interpreter* interpreter() const { return interpreter_; }
- base::AccountingAllocator* allocator() { return &allocator_; }
+ base::AccountingAllocator* allocator() { return allocator_; }
bool IsInAnyContext(Object* object, uint32_t index);
@@ -1298,9 +1298,9 @@ class Isolate {
HandleScopeData handle_scope_data_;
HandleScopeImplementer* handle_scope_implementer_;
UnicodeCache* unicode_cache_;
- base::AccountingAllocator allocator_;
- Zone runtime_zone_;
- Zone interface_descriptor_zone_;
+ base::AccountingAllocator* allocator_;
+ Zone* runtime_zone_;
+ Zone* interface_descriptor_zone_;
InnerPointerToCodeCache* inner_pointer_to_code_cache_;
GlobalHandles* global_handles_;
EternalHandles* eternal_handles_;

Powered by Google App Engine
This is Rietveld 408576698