src/share/vm/services/attachListener.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8059557_open Cdiff src/share/vm/services/attachListener.cpp

src/share/vm/services/attachListener.cpp

Print this page

        

*** 241,252 **** } FormatBuffer<80> err_msg("%s", ""); int ret = WriteableFlags::set_flag(op->arg(0), op->arg(1), Flag::ATTACH_ON_DEMAND, err_msg); ! if (ret != WriteableFlags::SUCCESS) { ! if (ret == WriteableFlags::NON_WRITABLE) { // if the flag is not manageable try to change it through // the platform dependent implementation return AttachListener::pd_set_flag(op, out); } else { out->print_cr("%s", err_msg.buffer()); --- 241,252 ---- } FormatBuffer<80> err_msg("%s", ""); int ret = WriteableFlags::set_flag(op->arg(0), op->arg(1), Flag::ATTACH_ON_DEMAND, err_msg); ! if (ret != Flag::SUCCESS) { ! if (ret == Flag::NON_WRITABLE) { // if the flag is not manageable try to change it through // the platform dependent implementation return AttachListener::pd_set_flag(op, out); } else { out->print_cr("%s", err_msg.buffer());
src/share/vm/services/attachListener.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File