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

Side by Side Diff: src/heap.h

Issue 203263014: Added sweeping time measurement for old space sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2859 matching lines...) Expand 10 before | Expand all | Expand 10 after
2870 2870
2871 class GCTracer BASE_EMBEDDED { 2871 class GCTracer BASE_EMBEDDED {
2872 public: 2872 public:
2873 class Scope BASE_EMBEDDED { 2873 class Scope BASE_EMBEDDED {
2874 public: 2874 public:
2875 enum ScopeId { 2875 enum ScopeId {
2876 EXTERNAL, 2876 EXTERNAL,
2877 MC_MARK, 2877 MC_MARK,
2878 MC_SWEEP, 2878 MC_SWEEP,
2879 MC_SWEEP_NEWSPACE, 2879 MC_SWEEP_NEWSPACE,
2880 MC_SWEEP_OLDSPACE,
2880 MC_EVACUATE_PAGES, 2881 MC_EVACUATE_PAGES,
2881 MC_UPDATE_NEW_TO_NEW_POINTERS, 2882 MC_UPDATE_NEW_TO_NEW_POINTERS,
2882 MC_UPDATE_ROOT_TO_NEW_POINTERS, 2883 MC_UPDATE_ROOT_TO_NEW_POINTERS,
2883 MC_UPDATE_OLD_TO_NEW_POINTERS, 2884 MC_UPDATE_OLD_TO_NEW_POINTERS,
2884 MC_UPDATE_POINTERS_TO_EVACUATED, 2885 MC_UPDATE_POINTERS_TO_EVACUATED,
2885 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, 2886 MC_UPDATE_POINTERS_BETWEEN_EVACUATED,
2886 MC_UPDATE_MISC_POINTERS, 2887 MC_UPDATE_MISC_POINTERS,
2887 MC_WEAKCOLLECTION_PROCESS, 2888 MC_WEAKCOLLECTION_PROCESS,
2888 MC_WEAKCOLLECTION_CLEAR, 2889 MC_WEAKCOLLECTION_CLEAR,
2889 MC_FLUSH_CODE, 2890 MC_FLUSH_CODE,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
3139 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3140 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3140 3141
3141 private: 3142 private:
3142 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3143 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3143 }; 3144 };
3144 #endif // DEBUG 3145 #endif // DEBUG
3145 3146
3146 } } // namespace v8::internal 3147 } } // namespace v8::internal
3147 3148
3148 #endif // V8_HEAP_H_ 3149 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698