cuitao2046 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Dumping heap profiles periodically #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Proposing a change to dump heap profiles periodically.

The attached patch adds an env option HEAP_PROFILE_TIME_INTERVAL which triggers 
the heap profile dumper every $HEAP_PROFILE_TIME_INTERVAL seconds.

It's a back-porting patch from Chromium's local changes.
http://crrev.com/115808

Original issue reported on code.google.com by dmikurube@chromium.org on 30 Oct 2012 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by chapp...@gmail.com on 3 Nov 2012 at 3:29

GoogleCodeExporter commented 9 years ago
r169 | chappedm@gmail.com | 2012-11-03 11:40:01 -0400 (Sat, 03 Nov 2012) | 1 
line

issue-478: Added the heap profiler tunnable setting HEAP_PROFILER_TIME_INTERVAL 
used to dump heap profiles on a specified time interval.

Original comment by chapp...@gmail.com on 3 Nov 2012 at 3:40