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 15 matching lines...) Expand all Loading... |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_SPACES_H_ | 28 #ifndef V8_SPACES_H_ |
29 #define V8_SPACES_H_ | 29 #define V8_SPACES_H_ |
30 | 30 |
31 #include "allocation.h" | 31 #include "allocation.h" |
32 #include "hashmap.h" | 32 #include "hashmap.h" |
33 #include "list.h" | 33 #include "list.h" |
34 #include "log.h" | 34 #include "log.h" |
35 #include "platform/mutex.h" | 35 #include "platform/mutex.h" |
36 #include "utils.h" | 36 #include "v8utils.h" |
37 | 37 |
38 namespace v8 { | 38 namespace v8 { |
39 namespace internal { | 39 namespace internal { |
40 | 40 |
41 class Isolate; | 41 class Isolate; |
42 | 42 |
43 // ----------------------------------------------------------------------------- | 43 // ----------------------------------------------------------------------------- |
44 // Heap structures: | 44 // Heap structures: |
45 // | 45 // |
46 // A JS heap consists of a young generation, an old generation, and a large | 46 // A JS heap consists of a young generation, an old generation, and a large |
(...skipping 2919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2966 } | 2966 } |
2967 // Must be small, since an iteration is used for lookup. | 2967 // Must be small, since an iteration is used for lookup. |
2968 static const int kMaxComments = 64; | 2968 static const int kMaxComments = 64; |
2969 }; | 2969 }; |
2970 #endif | 2970 #endif |
2971 | 2971 |
2972 | 2972 |
2973 } } // namespace v8::internal | 2973 } } // namespace v8::internal |
2974 | 2974 |
2975 #endif // V8_SPACES_H_ | 2975 #endif // V8_SPACES_H_ |
OLD | NEW |