src/share/vm/services/attachListener.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/services/attachListener.cpp	Sat Jun 13 09:00:32 2015
--- new/src/share/vm/services/attachListener.cpp	Sat Jun 13 09:00:32 2015

*** 241,252 **** --- 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 (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