mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8237767: Field layout computation overhaul
Reviewed-by: dholmes, coleenp, lfoltan, shade
This commit is contained in:
parent
304d764a72
commit
9886cb401c
19 changed files with 1528 additions and 231 deletions
|
@ -1399,6 +1399,10 @@ void InstanceKlass::mask_for(const methodHandle& method, int bci,
|
|||
oop_map_cache->lookup(method, bci, entry_for);
|
||||
}
|
||||
|
||||
bool InstanceKlass::contains_field_offset(int offset) {
|
||||
fieldDescriptor fd;
|
||||
return find_field_from_offset(offset, false, &fd);
|
||||
}
|
||||
|
||||
bool InstanceKlass::find_local_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const {
|
||||
for (JavaFieldStream fs(this); !fs.done(); fs.next()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue