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

Unified Diff: src/heap/mark-compact.h

Issue 1487743002: [heap] Remove ability to turn off code flushing on demand. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 3386b83272bfdb8572d86568fac4e3e2b3258e3a..a9aa11e0b1924630cb4c707cd8d5ada56bb855c1 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -279,18 +279,11 @@ class CodeFlusher {
ProcessJSFunctionCandidates();
}
- void EvictAllCandidates() {
- EvictJSFunctionCandidates();
- EvictSharedFunctionInfoCandidates();
- }
-
void IteratePointersToFromSpace(ObjectVisitor* v);
private:
void ProcessJSFunctionCandidates();
void ProcessSharedFunctionInfoCandidates();
- void EvictJSFunctionCandidates();
- void EvictSharedFunctionInfoCandidates();
static inline JSFunction** GetNextCandidateSlot(JSFunction* candidate);
static inline JSFunction* GetNextCandidate(JSFunction* candidate);
@@ -371,7 +364,6 @@ class MarkCompactCollector {
CodeFlusher* code_flusher() { return code_flusher_; }
inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; }
- void EnableCodeFlushing(bool enable);
enum SweeperType {
CONCURRENT_SWEEPING,
@@ -517,7 +509,6 @@ class MarkCompactCollector {
class SweeperTask;
explicit MarkCompactCollector(Heap* heap);
- ~MarkCompactCollector();
bool WillBeDeoptimized(Code* code);
void EvictPopularEvacuationCandidate(Page* page);
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698