Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/ci/ciEnv.java @ 17622:849eb7bfceac
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 | 55fb97c4c58d |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
17621:df8573b1a44c | 17622:849eb7bfceac |
---|---|
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 } |