mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
54eeffff83
commit
dbdeade3b7
6 changed files with 64 additions and 13 deletions
|
@ -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();
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue