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

Unified Diff: runtime/vm/thread.h

Issue 1562853003: 1. Add code to grow the heap instead of collecting garbage in Heap::AllocateOld when allocation is … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: self-review-comments Created 4 years, 11 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
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index f85be7b722d076e61e1a0ccc36b7c5812eed3cbd..ad073afba47f266280bd45b41e6c2738ab110206 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -164,6 +164,7 @@ class Thread : public BaseThread {
return OFFSET_OF(Thread, isolate_);
}
bool IsMutatorThread() const;
+ bool CanCollectGarbage() const;
// Is |this| executing Dart code?
bool IsExecutingDartCode() const;
« runtime/vm/heap.cc ('K') | « runtime/vm/heap.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698