Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethod.cpp Wed Jun 04 21:56:27 2008 -0700 +++ b/src/share/vm/ci/ciMethod.cpp Thu Jun 05 13:02:51 2008 -0700 @@ -878,7 +878,7 @@ (TieredCompilation && code->compiler() != NULL && code->compiler()->is_c1())) { return 0; } - return code->code_size(); + return code->code_end() - code->verified_entry_point(); ) }