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

Unified Diff: src/heap/heap-inl.h

Issue 2494723002: [heap] Record pretenuring feedback for moved pages (Closed)
Patch Set: Remove wrong DCHECK 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/mark-compact.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap-inl.h
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
index 4932b4483b2226cbd4ad77a7e19308b8b2e9dbb6..a80f49eb5bb39dc0892e243280f68507c79d895f 100644
--- a/src/heap/heap-inl.h
+++ b/src/heap/heap-inl.h
@@ -631,7 +631,6 @@ AllocationMemento* Heap::FindAllocationMemento(HeapObject* object) {
template <Heap::UpdateAllocationSiteMode mode>
void Heap::UpdateAllocationSite(HeapObject* object,
base::HashMap* pretenuring_feedback) {
- DCHECK(InFromSpace(object));
Hannes Payer (out of office) 2016/11/10 15:52:26 why do you have to remove this check? it should st
Michael Lippautz 2016/11/10 16:03:28 Object can now be in ToSpace, FromSpace, or even o
if (!FLAG_allocation_site_pretenuring ||
!AllocationSite::CanTrack(object->map()->instance_type()))
return;
« no previous file with comments | « no previous file | src/heap/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698