mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli
This commit is contained in:
parent
e04f906b93
commit
f5777dc9bd
20 changed files with 269 additions and 946 deletions
|
@ -1348,11 +1348,6 @@ instanceKlassHandle SystemDictionary::load_shared_class(instanceKlassHandle ik,
|
|||
int num_interfaces = interfaces->length();
|
||||
for (int index = 0; index < num_interfaces; index++) {
|
||||
Klass* k = interfaces->at(index);
|
||||
|
||||
// Note: can not use InstanceKlass::cast here because
|
||||
// interfaces' InstanceKlass's C++ vtbls haven't been
|
||||
// reinitialized yet (they will be once the interface classes
|
||||
// are loaded)
|
||||
Symbol* name = k->name();
|
||||
Klass* i = resolve_super_or_fail(class_name, name, class_loader, protection_domain, false, CHECK_(nh));
|
||||
if (k != i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue