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

Side by Side Diff: src/heap.h

Issue 148943004: Remove unused AllocationSpace paramenter from CollectGarbage. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 void ProcessPretenuringFeedback(); 2116 void ProcessPretenuringFeedback();
2117 2117
2118 // Checks whether a global GC is necessary 2118 // Checks whether a global GC is necessary
2119 GarbageCollector SelectGarbageCollector(AllocationSpace space, 2119 GarbageCollector SelectGarbageCollector(AllocationSpace space,
2120 const char** reason); 2120 const char** reason);
2121 2121
2122 // Performs garbage collection operation. 2122 // Performs garbage collection operation.
2123 // Returns whether there is a chance that another major GC could 2123 // Returns whether there is a chance that another major GC could
2124 // collect more garbage. 2124 // collect more garbage.
2125 bool CollectGarbage( 2125 bool CollectGarbage(
2126 AllocationSpace space,
2127 GarbageCollector collector, 2126 GarbageCollector collector,
2128 const char* gc_reason, 2127 const char* gc_reason,
2129 const char* collector_reason, 2128 const char* collector_reason,
2130 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags); 2129 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags);
2131 2130
2132 // Performs garbage collection 2131 // Performs garbage collection
2133 // Returns whether there is a chance another major GC could 2132 // Returns whether there is a chance another major GC could
2134 // collect more garbage. 2133 // collect more garbage.
2135 bool PerformGarbageCollection( 2134 bool PerformGarbageCollection(
2136 GarbageCollector collector, 2135 GarbageCollector collector,
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
3081 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3080 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3082 3081
3083 private: 3082 private:
3084 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3083 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3085 }; 3084 };
3086 #endif // DEBUG 3085 #endif // DEBUG
3087 3086
3088 } } // namespace v8::internal 3087 } } // namespace v8::internal
3089 3088
3090 #endif // V8_HEAP_H_ 3089 #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