src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/Method.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/Method.java
src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/Method.java
Print this page
rev 6133 : 8005079: fix LogCompilation for incremental inlining
Summary: report late inlining as part of the rest of the inlining output
Reviewed-by:
rev 6134 : [mq]: logcompilation-reviews
*** 49,67 ****
return new String(c);
}
String format(int osr_bci) {
if (osr_bci >= 0) {
! return getHolder().replace('/', '.') + "::" + getName() + " @ " + osr_bci + " (" + getBytes() + " bytes)";
} else {
! return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)";
}
}
@Override
public String toString() {
! return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)";
}
public String getHolder() {
return holder;
}
--- 49,67 ----
return new String(c);
}
String format(int osr_bci) {
if (osr_bci >= 0) {
! return getHolder() + "::" + getName() + " @ " + osr_bci + " (" + getBytes() + " bytes)";
} else {
! return getHolder() + "::" + getName() + " (" + getBytes() + " bytes)";
}
}
@Override
public String toString() {
! return getHolder() + "::" + getName() + " (" + getBytes() + " bytes)";
}
public String getHolder() {
return holder;
}
*** 115,120 ****
--- 115,130 ----
}
public void setFlags(String flags) {
this.flags = flags;
}
+
+ @Override
+ public boolean equals(Object o) {
+ if (o instanceof Method) {
+ Method other = (Method)o;
+ return holder.equals(other.holder) && name.equals(other.name) &&
+ arguments.equals(other.arguments) && returnType.equals(other.returnType);
+ }
+ return false;
+ }
}
src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/Method.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File