Tue, 05 Oct 2010 00:19:21 -0700
6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux
Summary: Fix ciMethod::instructions_size() to return correct value
Reviewed-by: kvn, twisti
src/share/vm/ci/ciMethod.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/ci/ciMethod.cpp Mon Oct 04 17:09:18 2010 -0700 1.2 +++ b/src/share/vm/ci/ciMethod.cpp Tue Oct 05 00:19:21 2010 -0700 1.3 @@ -979,7 +979,7 @@ 1.4 GUARDED_VM_ENTRY( 1.5 nmethod* code = get_methodOop()->code(); 1.6 if (code != NULL && (comp_level == CompLevel_any || comp_level == code->comp_level())) { 1.7 - return code->code_end() - code->verified_entry_point(); 1.8 + return code->insts_end() - code->verified_entry_point(); 1.9 } 1.10 return 0; 1.11 )