mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue