test/testlibrary/whitebox/sun/hotspot/code/NMethod.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/testlibrary/whitebox/sun/hotspot/code/NMethod.java Thu Oct 30 01:03:18 2014
--- new/test/testlibrary/whitebox/sun/hotspot/code/NMethod.java Thu Oct 30 01:03:18 2014
*** 32,51 ****
--- 32,54 ----
public static NMethod get(Executable method, boolean isOsr) {
Object[] obj = wb.getNMethod(method, isOsr);
return obj == null ? null : new NMethod(obj);
}
private NMethod(Object[] obj) {
! assert obj.length == 2;
! assert obj.length == 3;
comp_level = (Integer) obj[0];
insts = (byte[]) obj[1];
+ compile_id = (Integer) obj[2];
}
public byte[] insts;
public int comp_level;
+ public int compile_id;
@Override
public String toString() {
return "NMethod{" +
"insts=" + insts +
", comp_level=" + comp_level +
+ ", compile_id=" + compile_id +
'}';
}
}
test/testlibrary/whitebox/sun/hotspot/code/NMethod.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File