Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: src/heap.h

Issue 10536147: Adjust GC tracing: add a flag to ignore scavenger traces and print total GC time in verbose mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698