| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 7d923502f13ba30c3078d3130f288db60edcce2d..17d436e2effbbb5670a81442a3d22238882b97d8 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -741,6 +741,7 @@ class Isolate {
|
| void PrintStackTrace(FILE* out, char* thread_data);
|
| void PrintStack(StringStream* accumulator);
|
| void PrintStack(FILE* out);
|
| + void PrintStack();
|
| Handle<String> StackTraceString();
|
| NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
|
| Object* object,
|
| @@ -1064,6 +1065,13 @@ class Isolate {
|
| thread_local_top_.top_lookup_result_ = top;
|
| }
|
|
|
| + bool context_exit_happened() {
|
| + return context_exit_happened_;
|
| + }
|
| + void set_context_exit_happened(bool context_exit_happened) {
|
| + context_exit_happened_ = context_exit_happened;
|
| + }
|
| +
|
| bool initialized_from_snapshot() { return initialized_from_snapshot_; }
|
|
|
| double time_millis_since_init() {
|
| @@ -1311,6 +1319,10 @@ class Isolate {
|
| unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
|
| CodeStubInterfaceDescriptor* code_stub_interface_descriptors_;
|
|
|
| + // The garbage collector should be a little more aggressive when it knows
|
| + // that a context was recently exited.
|
| + bool context_exit_happened_;
|
| +
|
| // True if this isolate was initialized from a snapshot.
|
| bool initialized_from_snapshot_;
|
|
|
|
|