| 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 kRootListLength | 882 kRootListLength |
| 883 }; | 883 }; |
| 884 | 884 |
| 885 static Object* NumberToString(Object* number); | 885 static Object* NumberToString(Object* number); |
| 886 | 886 |
| 887 private: | 887 private: |
| 888 static int semispace_size_; | 888 static int semispace_size_; |
| 889 static int initial_semispace_size_; | 889 static int initial_semispace_size_; |
| 890 static int young_generation_size_; | 890 static int young_generation_size_; |
| 891 static int old_generation_size_; | 891 static int old_generation_size_; |
| 892 static size_t code_range_size_; |
| 892 | 893 |
| 893 // For keeping track of how much data has survived | 894 // For keeping track of how much data has survived |
| 894 // scavenge since last new space expansion. | 895 // scavenge since last new space expansion. |
| 895 static int survived_since_last_expansion_; | 896 static int survived_since_last_expansion_; |
| 896 | 897 |
| 897 static int always_allocate_scope_depth_; | 898 static int always_allocate_scope_depth_; |
| 898 static bool context_disposed_pending_; | 899 static bool context_disposed_pending_; |
| 899 | 900 |
| 900 static const int kMaxMapSpaceSize = 8*MB; | 901 static const int kMaxMapSpaceSize = 8*MB; |
| 901 | 902 |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1591 } | 1592 } |
| 1592 static TranscendentalCache* caches_[kNumberOfCaches]; | 1593 static TranscendentalCache* caches_[kNumberOfCaches]; |
| 1593 Element elements_[kCacheSize]; | 1594 Element elements_[kCacheSize]; |
| 1594 Type type_; | 1595 Type type_; |
| 1595 }; | 1596 }; |
| 1596 | 1597 |
| 1597 | 1598 |
| 1598 } } // namespace v8::internal | 1599 } } // namespace v8::internal |
| 1599 | 1600 |
| 1600 #endif // V8_HEAP_H_ | 1601 #endif // V8_HEAP_H_ |
| OLD | NEW |