| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |