/art/runtime/hprof/ |
hprof.h | 22 namespace hprof { namespace in namespace:art 26 } // namespace hprof
|
hprof.cc | 18 * Preparation and completion of hprof data generation. The output is 25 #include "hprof.h" 74 namespace hprof { namespace in namespace:art 436 class Hprof : public SingleRootVisitor { 438 Hprof(const char* output_filename, int fd, bool direct_to_ddms) 442 LOG(INFO) << "hprof: heap dump \"" << filename_ << "\" starting..."; 481 LOG(INFO) << "hprof: heap dump completed (" << PrettySize(RoundUp(overall_size, KB)) 669 // Note of warning: hprof-conv hard-codes the size of identifiers to 4. 916 DISALLOW_COPY_AND_ASSIGN(Hprof); 978 void Hprof::MarkRootObject(const mirror::Object* obj, jobject jni_obj, HprofHeapTag heap_tag [all...] |
/external/owasp/sanitizer/ |
Makefile | 153 profile: out/java.hprof.txt 154 out/java.hprof.txt: out/tests.tstamp 155 java -cp ${TEST_CLASSPATH}:out/classes -agentlib:hprof=cpu=times,format=a,file=out/java.hprof.txt,lineno=y,doe=y org.owasp.html.Benchmark benchmark-data/Yahoo\!.html s macro
|
/art/tools/ahat/etc/ |
hprofdump.py | 24 hprof = open(filename, "rb") variable 26 def readu1(hprof): 27 return struct.unpack('!B', hprof.read(1))[0] 29 def readu2(hprof): 30 return struct.unpack('!H', hprof.read(2))[0] 32 def readu4(hprof): 33 return struct.unpack('!I', hprof.read(4))[0] 35 def readu8(hprof): 36 return struct.unpack('!Q', hprof.read(8))[0] 38 def readN(n, hprof) [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
Main.java | 66 private static AhatSnapshot loadHeapDump(File hprof, 68 System.out.println("Processing '" + hprof + "' ..."); 70 return new Parser(hprof).map(map).progress(progress).retained(retained).parse(); 72 System.err.println("Unable to load '" + hprof + "':"); 75 System.err.println("'" + hprof + "' does not appear to be a valid Java heap dump:"); 99 File hprof = null; local 147 if (hprof != null) { 152 hprof = new File(args[i]); 156 if (hprof == null) { 162 // Launch the server before parsing the hprof file so we ge [all...] |
/art/tools/ahat/src/test/com/android/ahat/ |
TestDump.java | 111 * An IOException is thrown if there is a failure reading the hprof files or 127 ByteBuffer hprof = dataBufferFromResource(mHprofResource); local 128 mSnapshot = new Parser(hprof).map(map).retained(mRetained).parse(); 241 * An IOException is thrown if there is an error reading the test dump hprof 247 return getTestDump("test-dump.hprof", 248 "test-dump-base.hprof", 255 * @param hprof - The string resouce name of the hprof file. 256 * @param base - The string resouce name of the baseline hprof, may be null. 259 * An IOException is thrown if there is an error reading the test dump hprof [all...] |
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
Parser.java | 39 * The heap dump should be a heap dump in the J2SE HPROF format optionally 56 private HprofBuffer hprof = null; field in class:Parser 62 * Creates an hprof Parser that parses a heap dump from a byte buffer. 64 * @param hprof byte buffer to parse the heap dump from. 66 public Parser(ByteBuffer hprof) { 67 this.hprof = new HprofBuffer(hprof); 71 * Creates an hprof Parser that parses a heap dump from a file. 73 * @param hprof file to parse the heap dump from. 76 public Parser(File hprof) throws IOException [all...] |