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

Unified Diff: src/isolate.h

Issue 6903154: Revert "This implements per-isolate locking and unlocking, including tests" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | « src/execution.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index af3a99a89facac121957020bbae355673cdc95d1..52c7145e2c79020ec70e7e58aa630fe4868e307f 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -224,7 +224,6 @@ class ThreadLocalTop BASE_EMBEDDED {
ASSERT(try_catch_handler_address_ == NULL);
}
- Isolate* isolate_;
// The context where the current execution method is created and for variable
// lookups.
Context* context_;
@@ -487,10 +486,6 @@ class Isolate {
// Safe to call multiple times.
static void EnsureDefaultIsolate();
- // Find the PerThread for this particular (isolate, thread) combination
- // If one does not yet exist, return null.
- PerIsolateThreadData* FindPerThreadDataForThisThread();
-
#ifdef ENABLE_DEBUGGER_SUPPORT
// Get the debugger from the default isolate. Preinitializes the
// default isolate if needed.
@@ -1070,7 +1065,7 @@ class Isolate {
// If one does not yet exist, allocate a new one.
PerIsolateThreadData* FindOrAllocatePerThreadDataForThisThread();
-// PreInits and returns a default isolate. Needed when a new thread tries
+ // PreInits and returns a default isolate. Needed when a new thread tries
// to create a Locker for the first time (the lock itself is in the isolate).
static Isolate* GetDefaultIsolateForLocking();
@@ -1202,12 +1197,9 @@ class Isolate {
friend class ExecutionAccess;
friend class IsolateInitializer;
- friend class ThreadManager;
- friend class StackGuard;
friend class ThreadId;
friend class v8::Isolate;
friend class v8::Locker;
- friend class v8::Unlocker;
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
« no previous file with comments | « src/execution.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698