6709093: Compressed Oops: reduce size of compiled methods

Exclude UEP size from nmethod code size and use narrow klass oop to load prototype header.

Reviewed-by: jrose, never
This commit is contained in:
Vladimir Kozlov 2008-06-05 13:02:51 -07:00
parent 54eeffff83
commit dbdeade3b7
6 changed files with 64 additions and 13 deletions

View file

@ -878,7 +878,7 @@ int ciMethod::instructions_size() {
(TieredCompilation && code->compiler() != NULL && code->compiler()->is_c1())) {
return 0;
}
return code->code_size();
return code->code_end() - code->verified_entry_point();
)
}