mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 15:38:58 +00:00
6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux
Fix ciMethod::instructions_size() to return correct value Reviewed-by: kvn, twisti
This commit is contained in:
parent
f591ed981d
commit
32ebbc92ec
@ -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;
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user