Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/ci/ciEnv.java @ 14232:183bd5c00828
8028468: Add inlining information into ciReplay
Summary: Allow dump and replay inlining for specified method during a program execution.
Reviewed-by: roland, twisti
author | kvn |
---|---|
date | Wed, 08 Jan 2014 10:25:50 -0800 |
parents | de6a9e811145 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14231:303c352ba1a8 | 14232:183bd5c00828 |
---|---|
93 CompileTask task = task(); | 93 CompileTask task = task(); |
94 Method method = task.method(); | 94 Method method = task.method(); |
95 int entryBci = task.osrBci(); | 95 int entryBci = task.osrBci(); |
96 int compLevel = task.compLevel(); | 96 int compLevel = task.compLevel(); |
97 Klass holder = method.getMethodHolder(); | 97 Klass holder = method.getMethodHolder(); |
98 out.println("compile " + holder.getName().asString() + " " + | 98 out.print("compile " + holder.getName().asString() + " " + |
99 OopUtilities.escapeString(method.getName().asString()) + " " + | 99 OopUtilities.escapeString(method.getName().asString()) + " " + |
100 method.getSignature().asString() + " " + | 100 method.getSignature().asString() + " " + |
101 entryBci + " " + compLevel); | 101 entryBci + " " + compLevel); |
102 Compile compiler = compilerData(); | |
103 if (compiler != null) { | |
104 // Dump inlining data. | |
105 compiler.dumpInlineData(out); | |
106 } | |
107 out.println(); | |
102 } | 108 } |
103 } | 109 } |