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