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

Side by Side Diff: src/isolate.h

Issue 1777883002: Add memory pressure interrupt for memory pressure notification Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 MessageLocation* location); 737 MessageLocation* location);
738 738
739 // Out of resource exception helpers. 739 // Out of resource exception helpers.
740 Object* StackOverflow(); 740 Object* StackOverflow();
741 Object* TerminateExecution(); 741 Object* TerminateExecution();
742 void CancelTerminateExecution(); 742 void CancelTerminateExecution();
743 743
744 void RequestInterrupt(InterruptCallback callback, void* data); 744 void RequestInterrupt(InterruptCallback callback, void* data);
745 void InvokeApiInterruptCallbacks(); 745 void InvokeApiInterruptCallbacks();
746 746
747 void RequestMemoryPressureInterrupt();
748
747 // Administration 749 // Administration
748 void Iterate(ObjectVisitor* v); 750 void Iterate(ObjectVisitor* v);
749 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 751 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
750 char* Iterate(ObjectVisitor* v, char* t); 752 char* Iterate(ObjectVisitor* v, char* t);
751 void IterateThread(ThreadVisitor* v, char* t); 753 void IterateThread(ThreadVisitor* v, char* t);
752 754
753 // Returns the current native context. 755 // Returns the current native context.
754 Handle<Context> native_context(); 756 Handle<Context> native_context();
755 757
756 // Returns the native context of the calling JavaScript code. That 758 // Returns the native context of the calling JavaScript code. That
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 1568
1567 EmbeddedVector<char, 128> filename_; 1569 EmbeddedVector<char, 128> filename_;
1568 FILE* file_; 1570 FILE* file_;
1569 int scope_depth_; 1571 int scope_depth_;
1570 }; 1572 };
1571 1573
1572 } // namespace internal 1574 } // namespace internal
1573 } // namespace v8 1575 } // namespace v8
1574 1576
1575 #endif // V8_ISOLATE_H_ 1577 #endif // V8_ISOLATE_H_
OLDNEW
« include/v8.h ('K') | « src/execution.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698