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

Unified 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, 8 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 | « no previous file | src/api.cc » ('j') | src/libsampler/v8-sampler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index bfdf039ae597830f3f9f5f8bbd243e830308b494..c2cf13c7b482ecbb4e6ab282d583016f6510838f 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -6289,6 +6289,12 @@ class V8_EXPORT Isolate {
*/
void VisitWeakHandles(PersistentHandleVisitor* visitor);
+ /**
+ * Check if this isolate is in use.
+ * True if at least one thread Enter'ed this isolate.
+ */
+ bool IsInUse();
+
private:
template <class K, class V, class Traits>
friend class PersistentValueMapBase;
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/libsampler/v8-sampler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698