| 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 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2048 | 2048 |
| 2049 // Object counts and used memory by InstanceType | 2049 // Object counts and used memory by InstanceType |
| 2050 size_t object_counts_[OBJECT_STATS_COUNT]; | 2050 size_t object_counts_[OBJECT_STATS_COUNT]; |
| 2051 size_t object_counts_last_time_[OBJECT_STATS_COUNT]; | 2051 size_t object_counts_last_time_[OBJECT_STATS_COUNT]; |
| 2052 size_t object_sizes_[OBJECT_STATS_COUNT]; | 2052 size_t object_sizes_[OBJECT_STATS_COUNT]; |
| 2053 size_t object_sizes_last_time_[OBJECT_STATS_COUNT]; | 2053 size_t object_sizes_last_time_[OBJECT_STATS_COUNT]; |
| 2054 | 2054 |
| 2055 // Maximum GC pause. | 2055 // Maximum GC pause. |
| 2056 int max_gc_pause_; | 2056 int max_gc_pause_; |
| 2057 | 2057 |
| 2058 // Total time spent in GC. |
| 2059 int total_gc_time_ms_; |
| 2060 |
| 2058 // Maximum size of objects alive after GC. | 2061 // Maximum size of objects alive after GC. |
| 2059 intptr_t max_alive_after_gc_; | 2062 intptr_t max_alive_after_gc_; |
| 2060 | 2063 |
| 2061 // Minimal interval between two subsequent collections. | 2064 // Minimal interval between two subsequent collections. |
| 2062 int min_in_mutator_; | 2065 int min_in_mutator_; |
| 2063 | 2066 |
| 2064 // Size of objects alive after last GC. | 2067 // Size of objects alive after last GC. |
| 2065 intptr_t alive_after_last_gc_; | 2068 intptr_t alive_after_last_gc_; |
| 2066 | 2069 |
| 2067 double last_gc_end_timestamp_; | 2070 double last_gc_end_timestamp_; |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2765 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2768 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
| 2766 | 2769 |
| 2767 private: | 2770 private: |
| 2768 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2771 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2769 }; | 2772 }; |
| 2770 #endif // DEBUG || LIVE_OBJECT_LIST | 2773 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2771 | 2774 |
| 2772 } } // namespace v8::internal | 2775 } } // namespace v8::internal |
| 2773 | 2776 |
| 2774 #endif // V8_HEAP_H_ | 2777 #endif // V8_HEAP_H_ |
| OLD | NEW |