8314197: AttachListener::pd_find_operation always returning nullptr
Reviewed-by: dholmes, cjplummer, sspitsyn
This commit is contained in:
parent
b7dee213df
commit
6338927221
src/hotspot
os
aix
bsd
linux
windows
share/services
@ -579,10 +579,6 @@ void AttachListener::pd_data_dump() {
|
||||
os::signal_notify(SIGQUIT);
|
||||
}
|
||||
|
||||
AttachOperationFunctionInfo* AttachListener::pd_find_operation(const char* n) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
jint AttachListener::pd_set_flag(AttachOperation* op, outputStream* out) {
|
||||
out->print_cr("flag '%s' cannot be changed", op->arg(0));
|
||||
return JNI_ERR;
|
||||
|
@ -542,10 +542,6 @@ void AttachListener::pd_data_dump() {
|
||||
os::signal_notify(SIGQUIT);
|
||||
}
|
||||
|
||||
AttachOperationFunctionInfo* AttachListener::pd_find_operation(const char* n) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
jint AttachListener::pd_set_flag(AttachOperation* op, outputStream* out) {
|
||||
out->print_cr("flag '%s' cannot be changed", op->arg(0));
|
||||
return JNI_ERR;
|
||||
|
@ -547,10 +547,6 @@ void AttachListener::pd_data_dump() {
|
||||
os::signal_notify(SIGQUIT);
|
||||
}
|
||||
|
||||
AttachOperationFunctionInfo* AttachListener::pd_find_operation(const char* n) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
jint AttachListener::pd_set_flag(AttachOperation* op, outputStream* out) {
|
||||
out->print_cr("flag '%s' cannot be changed", op->arg(0));
|
||||
return JNI_ERR;
|
||||
|
@ -391,10 +391,6 @@ void AttachListener::pd_data_dump() {
|
||||
os::signal_notify(SIGBREAK);
|
||||
}
|
||||
|
||||
AttachOperationFunctionInfo* AttachListener::pd_find_operation(const char* n) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
jint AttachListener::pd_set_flag(AttachOperation* op, outputStream* out) {
|
||||
out->print_cr("flag '%s' cannot be changed", op->arg(0));
|
||||
return JNI_ERR;
|
||||
|
@ -411,11 +411,6 @@ void AttachListenerThread::thread_entry(JavaThread* thread, TRAPS) {
|
||||
}
|
||||
}
|
||||
|
||||
// check for platform dependent attach operation
|
||||
if (info == nullptr) {
|
||||
info = AttachListener::pd_find_operation(op->name());
|
||||
}
|
||||
|
||||
if (info != nullptr) {
|
||||
// dispatch to the function that implements this operation
|
||||
res = (info->func)(op, &st);
|
||||
|
@ -121,9 +121,6 @@ class AttachListener: AllStatic {
|
||||
// platform specific initialization
|
||||
static int pd_init();
|
||||
|
||||
// platform specific operation
|
||||
static AttachOperationFunctionInfo* pd_find_operation(const char* name);
|
||||
|
||||
// platform specific flag change
|
||||
static jint pd_set_flag(AttachOperation* op, outputStream* out);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user