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

Side by Side Diff: src/global-handles.h

Issue 17524007: Delete deprecated methods from v8-profiler.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/api.cc ('k') | test/cctest/test-api.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void RecordStats(HeapStats* stats); 145 void RecordStats(HeapStats* stats);
146 146
147 // Returns the current number of weak handles. 147 // Returns the current number of weak handles.
148 int NumberOfWeakHandles(); 148 int NumberOfWeakHandles();
149 149
150 // Returns the current number of weak handles to global objects. 150 // Returns the current number of weak handles to global objects.
151 // These handles are also included in NumberOfWeakHandles(). 151 // These handles are also included in NumberOfWeakHandles().
152 int NumberOfGlobalObjectWeakHandles(); 152 int NumberOfGlobalObjectWeakHandles();
153 153
154 // Returns the current number of handles to global objects. 154 // Returns the current number of handles to global objects.
155 int NumberOfGlobalHandles() { 155 int global_handles_count() const {
156 return number_of_global_handles_; 156 return number_of_global_handles_;
157 } 157 }
158 158
159 // Clear the weakness of a global handle. 159 // Clear the weakness of a global handle.
160 static void ClearWeakness(Object** location); 160 static void ClearWeakness(Object** location);
161 161
162 // Clear the weakness of a global handle. 162 // Clear the weakness of a global handle.
163 static void MarkIndependent(Object** location); 163 static void MarkIndependent(Object** location);
164 164
165 // Mark the reference to this object externaly unreachable. 165 // Mark the reference to this object externaly unreachable.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 friend class Isolate; 328 friend class Isolate;
329 329
330 DISALLOW_COPY_AND_ASSIGN(GlobalHandles); 330 DISALLOW_COPY_AND_ASSIGN(GlobalHandles);
331 }; 331 };
332 332
333 333
334 } } // namespace v8::internal 334 } } // namespace v8::internal
335 335
336 #endif // V8_GLOBAL_HANDLES_H_ 336 #endif // V8_GLOBAL_HANDLES_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698