diff options
| author | Andy McFadden <fadden@android.com> | 2010-07-09 16:50:05 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2010-07-13 10:55:17 -0700 |
| commit | 4b851a75f7712086a9fc4427f68c99b83725f37d (patch) | |
| tree | 8c02af82a7bc04a7ea82b2f3803ad3f73d56e18a /vm/compiler/codegen/CompilerCodegen.h | |
| parent | 2566990f30f31c6e2bbcbabab26b925e5504ce37 (diff) | |
Allow heap dump requests with a FileDescriptor arg.
Part of a larger change to allow "am" to initiate hprof heap dumps.
The original implementation wrote data to a temp file, because we
compute the second part first while doing GC work. Now all paths
work like DDMS, writing all data to a memstream and then copying it
out to a file at the very end.
Also, fix a potential fd leak on failure in the profiling code.
Bug 2759474.
Change-Id: I0f838cbd9948a23088f08463c3008be7198d76e7
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
