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

Side by Side Diff: src/api.cc

Issue 9466014: Remove now unused CalculateExactRetainedSize function & сo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix the ASSERT issue. Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/v8-profiler.h ('k') | src/profile-generator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5849 matching lines...) Expand 10 before | Expand all | Expand 10 after
5860 } 5860 }
5861 5861
5862 5862
5863 int HeapGraphNode::GetSelfSize() const { 5863 int HeapGraphNode::GetSelfSize() const {
5864 i::Isolate* isolate = i::Isolate::Current(); 5864 i::Isolate* isolate = i::Isolate::Current();
5865 IsDeadCheck(isolate, "v8::HeapGraphNode::GetSelfSize"); 5865 IsDeadCheck(isolate, "v8::HeapGraphNode::GetSelfSize");
5866 return ToInternal(this)->self_size(); 5866 return ToInternal(this)->self_size();
5867 } 5867 }
5868 5868
5869 5869
5870 int HeapGraphNode::GetRetainedSize(bool exact) const { 5870 int HeapGraphNode::GetRetainedSize() const {
5871 i::Isolate* isolate = i::Isolate::Current(); 5871 i::Isolate* isolate = i::Isolate::Current();
5872 IsDeadCheck(isolate, "v8::HeapSnapshot::GetRetainedSize"); 5872 IsDeadCheck(isolate, "v8::HeapSnapshot::GetRetainedSize");
5873 return ToInternal(this)->RetainedSize(exact); 5873 return ToInternal(this)->retained_size();
5874 } 5874 }
5875 5875
5876 5876
5877 int HeapGraphNode::GetChildrenCount() const { 5877 int HeapGraphNode::GetChildrenCount() const {
5878 i::Isolate* isolate = i::Isolate::Current(); 5878 i::Isolate* isolate = i::Isolate::Current();
5879 IsDeadCheck(isolate, "v8::HeapSnapshot::GetChildrenCount"); 5879 IsDeadCheck(isolate, "v8::HeapSnapshot::GetChildrenCount");
5880 return ToInternal(this)->children().length(); 5880 return ToInternal(this)->children().length();
5881 } 5881 }
5882 5882
5883 5883
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
6188 6188
6189 6189
6190 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 6190 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
6191 HandleScopeImplementer* scope_implementer = 6191 HandleScopeImplementer* scope_implementer =
6192 reinterpret_cast<HandleScopeImplementer*>(storage); 6192 reinterpret_cast<HandleScopeImplementer*>(storage);
6193 scope_implementer->IterateThis(v); 6193 scope_implementer->IterateThis(v);
6194 return storage + ArchiveSpacePerThread(); 6194 return storage + ArchiveSpacePerThread();
6195 } 6195 }
6196 6196
6197 } } // namespace v8::internal 6197 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8-profiler.h ('k') | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698