hotspot/src/share/vm/prims/jvmtiExport.cpp
changeset 44993 f61bcd80ec1f
parent 43679 0e60946764a6
child 46458 3c12af929e7d
--- a/hotspot/src/share/vm/prims/jvmtiExport.cpp	Sat Apr 22 12:05:20 2017 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiExport.cpp	Thu May 04 07:26:28 2017 +0000
@@ -54,7 +54,6 @@
 #include "runtime/os.inline.hpp"
 #include "runtime/thread.inline.hpp"
 #include "runtime/vframe.hpp"
-#include "services/attachListener.hpp"
 #include "services/serviceUtil.hpp"
 #include "utilities/macros.hpp"
 #if INCLUDE_ALL_GCS
@@ -2479,15 +2478,6 @@
   typedef jint (JNICALL *OnAttachEntry_t)(JavaVM*, char *, void *);
 }
 
-jint JvmtiExport::load_agent_library(AttachOperation* op, outputStream* st) {
-  // get agent name and options
-  const char* agent = op->arg(0);
-  const char* absParam = op->arg(1);
-  const char* options = op->arg(2);
-
-  return load_agent_library(agent, absParam, options, st);
-}
-
 jint JvmtiExport::load_agent_library(const char *agent, const char *absParam,
                                      const char *options, outputStream* st) {
   char ebuf[1024];