223 }
224
225 CompilationIdentifier getCompilationIdentifier() {
226 return compilationId;
227 }
228
229 /**
230 * Returns the HotSpot id of this compilation.
231 *
232 * @return HotSpot compile id
233 */
234 public int getId() {
235 return getRequest().getId();
236 }
237
238 public int getEntryBCI() {
239 return getRequest().getEntryBCI();
240 }
241
242 /**
243 * @return the compilation id plus a trailing '%' is the compilation is an OSR to match
244 * PrintCompilation style output
245 */
246 public String getIdString() {
247 if (getEntryBCI() != JVMCICompiler.INVOCATION_ENTRY_BCI) {
248 return getId() + "%";
249 } else {
250 return Integer.toString(getId());
251 }
252 }
253
254 public HotSpotInstalledCode getInstalledCode() {
255 return installedCode;
256 }
257
258 /**
259 * Time spent in compilation.
260 */
261 private static final TimerKey CompilationTime = DebugContext.timer("CompilationTime").doc("Time spent in compilation and code installation.");
262
263 /**
|
223 }
224
225 CompilationIdentifier getCompilationIdentifier() {
226 return compilationId;
227 }
228
229 /**
230 * Returns the HotSpot id of this compilation.
231 *
232 * @return HotSpot compile id
233 */
234 public int getId() {
235 return getRequest().getId();
236 }
237
238 public int getEntryBCI() {
239 return getRequest().getEntryBCI();
240 }
241
242 /**
243 * @return the compilation id plus a trailing '%' if the compilation is an OSR to match
244 * PrintCompilation style output
245 */
246 public String getIdString() {
247 if (getEntryBCI() != JVMCICompiler.INVOCATION_ENTRY_BCI) {
248 return getId() + "%";
249 } else {
250 return Integer.toString(getId());
251 }
252 }
253
254 public HotSpotInstalledCode getInstalledCode() {
255 return installedCode;
256 }
257
258 /**
259 * Time spent in compilation.
260 */
261 private static final TimerKey CompilationTime = DebugContext.timer("CompilationTime").doc("Time spent in compilation and code installation.");
262
263 /**
|