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

Side by Side Diff: include/v8.h

Issue 1922303002: Create libsampler as V8 sampler library. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | src/libsampler/hashmap.h » ('J')
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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 6278 matching lines...) Expand 10 before | Expand all | Expand 10 after
6289 */ 6289 */
6290 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor); 6290 void VisitHandlesForPartialDependence(PersistentHandleVisitor* visitor);
6291 6291
6292 /** 6292 /**
6293 * Iterates through all the persistent handles in the current isolate's heap 6293 * Iterates through all the persistent handles in the current isolate's heap
6294 * that have class_ids and are weak to be marked as inactive if there is no 6294 * that have class_ids and are weak to be marked as inactive if there is no
6295 * pending activity for the handle. 6295 * pending activity for the handle.
6296 */ 6296 */
6297 void VisitWeakHandles(PersistentHandleVisitor* visitor); 6297 void VisitWeakHandles(PersistentHandleVisitor* visitor);
6298 6298
6299 /**
6300 * Check if this isolate is in use.
6301 * True if at least one thread Enter'ed this isolate.
6302 */
6303 bool IsInUse();
6304
6299 private: 6305 private:
6300 template <class K, class V, class Traits> 6306 template <class K, class V, class Traits>
6301 friend class PersistentValueMapBase; 6307 friend class PersistentValueMapBase;
6302 6308
6303 Isolate(); 6309 Isolate();
6304 Isolate(const Isolate&); 6310 Isolate(const Isolate&);
6305 ~Isolate(); 6311 ~Isolate();
6306 Isolate& operator=(const Isolate&); 6312 Isolate& operator=(const Isolate&);
6307 void* operator new(size_t size); 6313 void* operator new(size_t size);
6308 void operator delete(void*, size_t); 6314 void operator delete(void*, size_t);
(...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after
8743 */ 8749 */
8744 8750
8745 8751
8746 } // namespace v8 8752 } // namespace v8
8747 8753
8748 8754
8749 #undef TYPE_CHECK 8755 #undef TYPE_CHECK
8750 8756
8751 8757
8752 #endif // INCLUDE_V8_H_ 8758 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | src/libsampler/hashmap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698