提交 00e648fe 编写于 作者: I iveresov

6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux

Summary: Fix ciMethod::instructions_size() to return correct value
Reviewed-by: kvn, twisti
上级 8513078f
......@@ -979,7 +979,7 @@ int ciMethod::instructions_size(int comp_level) {
GUARDED_VM_ENTRY(
nmethod* code = get_methodOop()->code();
if (code != NULL && (comp_level == CompLevel_any || comp_level == code->comp_level())) {
return code->code_end() - code->verified_entry_point();
return code->insts_end() - code->verified_entry_point();
}
return 0;
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册