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:
Coleen Phillimore 2014-08-28 11:29:09 -04:00
parent d9da8946df
commit 73d759e533
23 changed files with 26 additions and 112 deletions

View file

@ -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) {