--- old/src/share/vm/classfile/dictionary.cpp 2016-02-22 11:00:47.141906362 -0500 +++ new/src/share/vm/classfile/dictionary.cpp 2016-02-22 11:00:47.002396721 -0500 @@ -135,8 +135,10 @@ // via a store to _pd_set. OrderAccess::release_store_ptr(&_pd_set, new_head); } - if (TraceProtectionDomainVerification && WizardMode) { - print(); + if (log_is_enabled(Trace, protectiondomain)) { + ResourceMark rm; + outputStream* log = LogHandle(protectiondomain)::trace_stream(); + print(log); } }