OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 reserved_semispace_size_(2*MB), | 74 reserved_semispace_size_(2*MB), |
75 max_semispace_size_(2*MB), | 75 max_semispace_size_(2*MB), |
76 initial_semispace_size_(128*KB), | 76 initial_semispace_size_(128*KB), |
77 max_old_generation_size_(192*MB), | 77 max_old_generation_size_(192*MB), |
78 max_executable_size_(max_old_generation_size_), | 78 max_executable_size_(max_old_generation_size_), |
79 code_range_size_(0), | 79 code_range_size_(0), |
80 #elif defined(V8_TARGET_ARCH_X64) | 80 #elif defined(V8_TARGET_ARCH_X64) |
81 reserved_semispace_size_(16*MB), | 81 reserved_semispace_size_(16*MB), |
82 max_semispace_size_(16*MB), | 82 max_semispace_size_(16*MB), |
83 initial_semispace_size_(1*MB), | 83 initial_semispace_size_(1*MB), |
84 max_old_generation_size_(1*GB), | 84 max_old_generation_size_(1400*MB), |
85 max_executable_size_(256*MB), | 85 max_executable_size_(256*MB), |
86 code_range_size_(512*MB), | 86 code_range_size_(512*MB), |
87 #else | 87 #else |
88 reserved_semispace_size_(8*MB), | 88 reserved_semispace_size_(8*MB), |
89 max_semispace_size_(8*MB), | 89 max_semispace_size_(8*MB), |
90 initial_semispace_size_(512*KB), | 90 initial_semispace_size_(512*KB), |
91 max_old_generation_size_(512*MB), | 91 max_old_generation_size_(700*MB), |
92 max_executable_size_(128*MB), | 92 max_executable_size_(128*MB), |
93 code_range_size_(0), | 93 code_range_size_(0), |
94 #endif | 94 #endif |
95 // Variables set based on semispace_size_ and old_generation_size_ in | 95 // Variables set based on semispace_size_ and old_generation_size_ in |
96 // ConfigureHeap (survived_since_last_expansion_, external_allocation_limit_) | 96 // ConfigureHeap (survived_since_last_expansion_, external_allocation_limit_) |
97 // Will be 4 * reserved_semispace_size_ to ensure that young | 97 // Will be 4 * reserved_semispace_size_ to ensure that young |
98 // generation can be aligned to its size. | 98 // generation can be aligned to its size. |
99 survived_since_last_expansion_(0), | 99 survived_since_last_expansion_(0), |
100 sweep_generation_(0), | 100 sweep_generation_(0), |
101 always_allocate_scope_depth_(0), | 101 always_allocate_scope_depth_(0), |
(...skipping 6044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6146 } | 6146 } |
6147 | 6147 |
6148 | 6148 |
6149 void ExternalStringTable::TearDown() { | 6149 void ExternalStringTable::TearDown() { |
6150 new_space_strings_.Free(); | 6150 new_space_strings_.Free(); |
6151 old_space_strings_.Free(); | 6151 old_space_strings_.Free(); |
6152 } | 6152 } |
6153 | 6153 |
6154 | 6154 |
6155 } } // namespace v8::internal | 6155 } } // namespace v8::internal |
OLD | NEW |