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

Side by Side Diff: src/heap.cc

Issue 301553003: Make incremental marker post-process JSWeakCollection. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Hide some visitor functions. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/incremental-marking.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 "v8.h" 5 #include "v8.h"
6 6
7 #include "accessors.h" 7 #include "accessors.h"
8 #include "api.h" 8 #include "api.h"
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "codegen.h" 10 #include "codegen.h"
(...skipping 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 template VisitSpecialized<SlicedString::kSize>); 1913 template VisitSpecialized<SlicedString::kSize>);
1914 1914
1915 table_.Register(kVisitSymbol, 1915 table_.Register(kVisitSymbol,
1916 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1916 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1917 template VisitSpecialized<Symbol::kSize>); 1917 template VisitSpecialized<Symbol::kSize>);
1918 1918
1919 table_.Register(kVisitSharedFunctionInfo, 1919 table_.Register(kVisitSharedFunctionInfo,
1920 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1920 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1921 template VisitSpecialized<SharedFunctionInfo::kSize>); 1921 template VisitSpecialized<SharedFunctionInfo::kSize>);
1922 1922
1923 table_.Register(kVisitJSWeakMap, 1923 table_.Register(kVisitJSWeakCollection,
1924 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1924 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1925 Visit); 1925 Visit);
1926 1926
1927 table_.Register(kVisitJSWeakSet,
1928 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1929 Visit);
1930
1931 table_.Register(kVisitJSArrayBuffer, 1927 table_.Register(kVisitJSArrayBuffer,
1932 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1928 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1933 Visit); 1929 Visit);
1934 1930
1935 table_.Register(kVisitJSTypedArray, 1931 table_.Register(kVisitJSTypedArray,
1936 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1932 &ObjectEvacuationStrategy<POINTER_OBJECT>::
1937 Visit); 1933 Visit);
1938 1934
1939 table_.Register(kVisitJSDataView, 1935 table_.Register(kVisitJSDataView,
1940 &ObjectEvacuationStrategy<POINTER_OBJECT>:: 1936 &ObjectEvacuationStrategy<POINTER_OBJECT>::
(...skipping 4551 matching lines...) Expand 10 before | Expand all | Expand 10 after
6492 static_cast<int>(object_sizes_last_time_[index])); 6488 static_cast<int>(object_sizes_last_time_[index]));
6493 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) 6489 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT)
6494 #undef ADJUST_LAST_TIME_OBJECT_COUNT 6490 #undef ADJUST_LAST_TIME_OBJECT_COUNT
6495 6491
6496 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); 6492 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_));
6497 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); 6493 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_));
6498 ClearObjectStats(); 6494 ClearObjectStats();
6499 } 6495 }
6500 6496
6501 } } // namespace v8::internal 6497 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698