You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This will help short-circuit some reflective code.
2219
2219
if (tkls->offset() == in_bytes(Klass::layout_helper_offset()) &&
2220
2220
tkls->isa_instklassptr() && // not directly typed as an array
2221
-
!tkls->is_instklassptr()->instance_klass()->is_java_lang_Object() // not the supertype of all T[] and specifically not Serializable & Cloneable
2222
-
) {
2223
-
// Note: When interfaces are reliable, we can narrow the interface
2224
-
// test to (klass != Serializable && klass != Cloneable).
2221
+
!tkls->is_instklassptr()->might_be_an_array() // not the supertype of all T[] (java.lang.Object) or has an interface that is not Serializable or Cloneable
2222
+
) {
2225
2223
assert(Opcode() == Op_LoadI, "must load an int from _layout_helper");
0 commit comments