< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp

Print this page

        

*** 160,170 **** static ClassLoaderData* get_cld(const Klass* klass) { assert(klass != NULL, "invariant"); if (klass->is_objArray_klass()) { klass = ObjArrayKlass::cast(klass)->bottom_klass(); } ! if (klass->is_hidden_weak()) return NULL; return is_unsafe_anonymous(klass) ? InstanceKlass::cast(klass)->unsafe_anonymous_host()->class_loader_data() : klass->class_loader_data(); } template <typename T> --- 160,170 ---- static ClassLoaderData* get_cld(const Klass* klass) { assert(klass != NULL, "invariant"); if (klass->is_objArray_klass()) { klass = ObjArrayKlass::cast(klass)->bottom_klass(); } ! if (klass->is_non_strong_hidden()) return NULL; return is_unsafe_anonymous(klass) ? InstanceKlass::cast(klass)->unsafe_anonymous_host()->class_loader_data() : klass->class_loader_data(); } template <typename T>
< prev index next >