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

Side by Side Diff: src/isolate.cc

Issue 2482163002: [heap] Remove js call rate heuristic from memory reducer. (Closed)
Patch Set: fix test Created 4 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 unified diff | Download patch
« no previous file with comments | « src/isolate.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 is_tail_call_elimination_enabled_(true), 2113 is_tail_call_elimination_enabled_(true),
2114 is_isolate_in_background_(false), 2114 is_isolate_in_background_(false),
2115 cpu_profiler_(NULL), 2115 cpu_profiler_(NULL),
2116 heap_profiler_(NULL), 2116 heap_profiler_(NULL),
2117 code_event_dispatcher_(new CodeEventDispatcher()), 2117 code_event_dispatcher_(new CodeEventDispatcher()),
2118 function_entry_hook_(NULL), 2118 function_entry_hook_(NULL),
2119 deferred_handles_head_(NULL), 2119 deferred_handles_head_(NULL),
2120 optimizing_compile_dispatcher_(NULL), 2120 optimizing_compile_dispatcher_(NULL),
2121 stress_deopt_count_(0), 2121 stress_deopt_count_(0),
2122 next_optimization_id_(0), 2122 next_optimization_id_(0),
2123 js_calls_from_api_counter_(0),
2124 #if TRACE_MAPS 2123 #if TRACE_MAPS
2125 next_unique_sfi_id_(0), 2124 next_unique_sfi_id_(0),
2126 #endif 2125 #endif
2127 is_running_microtasks_(false), 2126 is_running_microtasks_(false),
2128 use_counter_callback_(NULL), 2127 use_counter_callback_(NULL),
2129 basic_block_profiler_(NULL), 2128 basic_block_profiler_(NULL),
2130 cancelable_task_manager_(new CancelableTaskManager()), 2129 cancelable_task_manager_(new CancelableTaskManager()),
2131 abort_on_uncaught_exception_callback_(NULL) { 2130 abort_on_uncaught_exception_callback_(NULL) {
2132 { 2131 {
2133 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); 2132 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer());
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
3487 // Then check whether this scope intercepts. 3486 // Then check whether this scope intercepts.
3488 if ((flag & intercept_mask_)) { 3487 if ((flag & intercept_mask_)) {
3489 intercepted_flags_ |= flag; 3488 intercepted_flags_ |= flag;
3490 return true; 3489 return true;
3491 } 3490 }
3492 return false; 3491 return false;
3493 } 3492 }
3494 3493
3495 } // namespace internal 3494 } // namespace internal
3496 } // namespace v8 3495 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698