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

Unified Diff: src/heap.h

Issue 2715004: [Isolates]... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Address comments/make StackGuard::ThreadLocal::Initialize/Clear side-effects visible Created 10 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 side-by-side diff with in-line comments
Download patch
« src/execution.cc ('K') | « src/execution.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
===================================================================
--- src/heap.h (revision 4831)
+++ src/heap.h (working copy)
@@ -202,6 +202,7 @@
// Forward declaration of the GCTracer class.
class GCTracer;
class HeapStats;
+class Isolate;
typedef String* (*ExternalStringTableUpdaterCallback)(Object** pointer);
@@ -232,7 +233,7 @@
// Set the stack limit in the roots_ array. Some architectures generate
// code that looks here, because it is faster than loading from the static
// jslimit_/real_jslimit_ variable in the StackGuard.
- static void SetStackLimits();
+ void SetStackLimits();
// Returns whether Setup has been called.
static bool HasBeenSetup();
@@ -1020,6 +1021,10 @@
private:
Heap();
+ // TODO(isolates): Technically this can be calculated directly from
+ // any pointer to Heap.
+ Isolate* isolate_;
+
static int reserved_semispace_size_;
static int max_semispace_size_;
static int initial_semispace_size_;
« src/execution.cc ('K') | « src/execution.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698