comparison src/share/vm/ci/ciMethod.cpp @ 182:44abbb0d4c18

6709093: Compressed Oops: reduce size of compiled methods Summary: exclude UEP size from nmethod code size and use narrow klass oop to load prototype header. Reviewed-by: jrose, never
author kvn
date Thu, 05 Jun 2008 13:02:51 -0700
parents 1f530c629c7d
children d1605aabd0a1
comparison
equal deleted inserted replaced
181:823298b11afc 182:44abbb0d4c18
876 // that currently isn't properly recorded. 876 // that currently isn't properly recorded.
877 if (code == NULL || 877 if (code == NULL ||
878 (TieredCompilation && code->compiler() != NULL && code->compiler()->is_c1())) { 878 (TieredCompilation && code->compiler() != NULL && code->compiler()->is_c1())) {
879 return 0; 879 return 0;
880 } 880 }
881 return code->code_size(); 881 return code->code_end() - code->verified_entry_point();
882 ) 882 )
883 } 883 }
884 884
885 // ------------------------------------------------------------------ 885 // ------------------------------------------------------------------
886 // ciMethod::log_nmethod_identity 886 // ciMethod::log_nmethod_identity