OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1948 | 1948 |
1949 // For keeping track of context disposals. | 1949 // For keeping track of context disposals. |
1950 int contexts_disposed_; | 1950 int contexts_disposed_; |
1951 | 1951 |
1952 int global_ic_age_; | 1952 int global_ic_age_; |
1953 | 1953 |
1954 bool flush_monomorphic_ics_; | 1954 bool flush_monomorphic_ics_; |
1955 | 1955 |
1956 int scan_on_scavenge_pages_; | 1956 int scan_on_scavenge_pages_; |
1957 | 1957 |
1958 #if defined(V8_TARGET_ARCH_X64) | 1958 #if V8_TARGET_ARCH_X64 |
1959 static const int kMaxObjectSizeInNewSpace = 1024*KB; | 1959 static const int kMaxObjectSizeInNewSpace = 1024*KB; |
1960 #else | 1960 #else |
1961 static const int kMaxObjectSizeInNewSpace = 512*KB; | 1961 static const int kMaxObjectSizeInNewSpace = 512*KB; |
1962 #endif | 1962 #endif |
1963 | 1963 |
1964 NewSpace new_space_; | 1964 NewSpace new_space_; |
1965 OldSpace* old_pointer_space_; | 1965 OldSpace* old_pointer_space_; |
1966 OldSpace* old_data_space_; | 1966 OldSpace* old_data_space_; |
1967 OldSpace* code_space_; | 1967 OldSpace* code_space_; |
1968 MapSpace* map_space_; | 1968 MapSpace* map_space_; |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3074 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3074 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3075 | 3075 |
3076 private: | 3076 private: |
3077 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3077 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3078 }; | 3078 }; |
3079 #endif // DEBUG | 3079 #endif // DEBUG |
3080 | 3080 |
3081 } } // namespace v8::internal | 3081 } } // namespace v8::internal |
3082 | 3082 |
3083 #endif // V8_HEAP_H_ | 3083 #endif // V8_HEAP_H_ |
OLD | NEW |