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

Side by Side Diff: src/heap/heap.cc

Issue 1773593002: [compiler] Remove support for concurrent OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix release builds. 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
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/ia32/builtins-ia32.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/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/scopeinfo.h" 9 #include "src/ast/scopeinfo.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 UpdateMaximumCommitted(); 446 UpdateMaximumCommitted();
447 447
448 #ifdef DEBUG 448 #ifdef DEBUG
449 DCHECK(!AllowHeapAllocation::IsAllowed() && gc_state_ == NOT_IN_GC); 449 DCHECK(!AllowHeapAllocation::IsAllowed() && gc_state_ == NOT_IN_GC);
450 450
451 if (FLAG_gc_verbose) Print(); 451 if (FLAG_gc_verbose) Print();
452 452
453 ReportStatisticsBeforeGC(); 453 ReportStatisticsBeforeGC();
454 #endif // DEBUG 454 #endif // DEBUG
455 455
456 if (isolate()->concurrent_osr_enabled()) {
457 isolate()->optimizing_compile_dispatcher()->AgeBufferedOsrJobs();
458 }
459
460 if (new_space_.IsAtMaximumCapacity()) { 456 if (new_space_.IsAtMaximumCapacity()) {
461 maximum_size_scavenges_++; 457 maximum_size_scavenges_++;
462 } else { 458 } else {
463 maximum_size_scavenges_ = 0; 459 maximum_size_scavenges_ = 0;
464 } 460 }
465 CheckNewSpaceExpansionCriteria(); 461 CheckNewSpaceExpansionCriteria();
466 UpdateNewSpaceAllocationCounter(); 462 UpdateNewSpaceAllocationCounter();
467 store_buffer()->MoveEntriesToRememberedSet(); 463 store_buffer()->MoveEntriesToRememberedSet();
468 } 464 }
469 465
(...skipping 5874 matching lines...) Expand 10 before | Expand all | Expand 10 after
6344 } 6340 }
6345 6341
6346 6342
6347 // static 6343 // static
6348 int Heap::GetStaticVisitorIdForMap(Map* map) { 6344 int Heap::GetStaticVisitorIdForMap(Map* map) {
6349 return StaticVisitorBase::GetVisitorId(map); 6345 return StaticVisitorBase::GetVisitorId(map);
6350 } 6346 }
6351 6347
6352 } // namespace internal 6348 } // namespace internal
6353 } // namespace v8 6349 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698