mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them. Reviewed-by: kvn, twisti, mgerdin
This commit is contained in:
parent
d9da8946df
commit
73d759e533
23 changed files with 26 additions and 112 deletions
|
@ -390,7 +390,7 @@ oop Reflection::array_component_type(oop mirror, TRAPS) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
oop result = ArrayKlass::cast(klass)->component_mirror();
|
||||
oop result = java_lang_Class::component_mirror(mirror);
|
||||
#ifdef ASSERT
|
||||
oop result2 = NULL;
|
||||
if (ArrayKlass::cast(klass)->dimension() == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue