< prev index next >

src/utils/LogCompilation/src/main/java/com/sun/hotspot/tools/compiler/CallSite.java

Print this page

        

*** 103,112 **** --- 103,117 ---- * List of uncommon traps in this compilation scope. */ private List<UncommonTrap> traps; /** + * The name of the intrinsic at this call site. + */ + private String intrinsicName; + + /** * Default constructor: used to create an instance that represents the top * scope of a compilation. */ CallSite() {}
*** 177,186 **** --- 182,192 ---- if (getReason() == null) { stream.print(" @ " + getBci() + " " + m + " (" + getMethod().getBytes() + " bytes)"); } else { stream.print(" @ " + getBci() + " " + m + " " + getReason()); } + stream.print(getIntrinsicOrEmptyString()); stream.printf(" (end time: %6.4f", getTimeStamp()); if (getEndNodes() > 0) { stream.printf(" nodes: %d live: %d", getEndNodes(), getEndLiveNodes()); } stream.println(")");
*** 366,371 **** --- 372,392 ---- } public void setInlineId(long inlineId) { this.inlineId = inlineId; } + + public String getIntrinsicName() { + return intrinsicName; + } + + public void setIntrinsicName(String name) { + this.intrinsicName = name; + } + + public String getIntrinsicOrEmptyString() { + if (intrinsicName != null) { + return " (intrinsic: " + getIntrinsicName() + ")"; + } + return ""; + } }
< prev index next >