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

Side by Side Diff: src/heap.h

Issue 2632003: Flushing of code from functions that we expect not to use again.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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 | « src/compiler.cc ('k') | 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 Object* prototype); 1259 Object* prototype);
1260 1260
1261 static GCTracer* tracer_; 1261 static GCTracer* tracer_;
1262 1262
1263 1263
1264 // Initializes the number to string cache based on the max semispace size. 1264 // Initializes the number to string cache based on the max semispace size.
1265 static Object* InitializeNumberStringCache(); 1265 static Object* InitializeNumberStringCache();
1266 // Flush the number to string cache. 1266 // Flush the number to string cache.
1267 static void FlushNumberStringCache(); 1267 static void FlushNumberStringCache();
1268 1268
1269 // Flush code from functions we do not expect to use again. The code will
1270 // be replaced with a lazy compilable version.
1271 static void FlushCode();
1272
1269 static const int kInitialSymbolTableSize = 2048; 1273 static const int kInitialSymbolTableSize = 2048;
1270 static const int kInitialEvalCacheSize = 64; 1274 static const int kInitialEvalCacheSize = 64;
1271 1275
1272 friend class Factory; 1276 friend class Factory;
1273 friend class DisallowAllocationFailure; 1277 friend class DisallowAllocationFailure;
1274 friend class AlwaysAllocateScope; 1278 friend class AlwaysAllocateScope;
1275 friend class LinearAllocationScope; 1279 friend class LinearAllocationScope;
1276 }; 1280 };
1277 1281
1278 1282
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 1932
1929 // To speed up scavenge collections new space string are kept 1933 // To speed up scavenge collections new space string are kept
1930 // separate from old space strings. 1934 // separate from old space strings.
1931 static List<Object*> new_space_strings_; 1935 static List<Object*> new_space_strings_;
1932 static List<Object*> old_space_strings_; 1936 static List<Object*> old_space_strings_;
1933 }; 1937 };
1934 1938
1935 } } // namespace v8::internal 1939 } } // namespace v8::internal
1936 1940
1937 #endif // V8_HEAP_H_ 1941 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698