Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index ffd4c9caa806f614fa0d9d386d9e0b96e6be285d..40c815716569c438e42cd94383f377fe683ccf07 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -518,6 +518,10 @@ class Isolate { |
// If one does not yet exist, return null. |
PerIsolateThreadData* FindPerThreadDataForThread(ThreadId thread_id); |
+ // Discard the PerThread for this particular (isolate, thread) combination |
+ // If one does not yet exist, no-op. |
+ void DiscardPerThreadDataForThisThread(); |
+ |
// Returns the key used to store the pointer to the current isolate. |
// Used internally for V8 threads that do not execute JavaScript but still |
// are part of the domain of an isolate (like the context switcher). |