< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp

Print this page

        

*** 94,104 **** return set_used_and_get_shifted(package, leakp); } inline traceid JfrTraceId::use(const ClassLoaderData* cld, bool leakp /* false */) { assert(cld != NULL, "invariant"); ! return cld->is_unsafe_anonymous() ? 0 : set_used_and_get_shifted(cld, leakp); } inline bool JfrTraceId::in_visible_set(const Klass* klass) { assert(klass != NULL, "invariant"); assert(((JavaThread*)Thread::current())->thread_state() == _thread_in_vm, "invariant"); --- 94,104 ---- return set_used_and_get_shifted(package, leakp); } inline traceid JfrTraceId::use(const ClassLoaderData* cld, bool leakp /* false */) { assert(cld != NULL, "invariant"); ! return cld->is_shortlived() ? 0 : set_used_and_get_shifted(cld, leakp); } inline bool JfrTraceId::in_visible_set(const Klass* klass) { assert(klass != NULL, "invariant"); assert(((JavaThread*)Thread::current())->thread_state() == _thread_in_vm, "invariant");
< prev index next >