Lines Matching refs:agent

51 appendClassPath(JPLISAgent* agent,
55 appendBootClassPath(JPLISAgent* agent,
109 convertCapabilityAtrributes(const jarAttribute* attributes, JPLISAgent* agent) {
112 addRedefineClassesCapability(agent);
117 retransformableEnvironment(agent);
122 addNativeMethodPrefixCapability(agent);
127 addOriginalMethodOrderCapability(agent);
133 * Each call to Agent_OnLoad will create its own agent and agent data.
138 * Premain-Class attribute will become the agent's premain class. The jar
147 JPLISAgent * agent = NULL;
149 initerror = createNewJPLISAgent(vm, &agent);
168 * Agent_OnLoad is specified to provide the agent options
197 appendClassPath(agent, jarfile);
200 * The value of the Premain-Class attribute becomes the agent
229 appendBootClassPath(agent, jarfile, bootClassPath);
233 * Convert JAR attributes into agent capabilities
235 convertCapabilityAtrributes(attributes, agent);
238 * Track (record) the agent class name and options data
240 initerror = recordCommandLineData(agent, premainClass, options);
257 fprintf(stderr, "java.lang.instrument/-javaagent: cannot create native agent.\n");
261 fprintf(stderr, "java.lang.instrument/-javaagent: initialization of native agent failed.\n");
269 fprintf(stderr, "-javaagent: agent class not specified.\n");
297 JPLISAgent * agent = NULL;
307 initerror = createNewJPLISAgent(vm, &agent);
348 if (appendClassPath(agent, jarfile)) {
359 * The value of the Agent-Class attribute becomes the agent
387 appendBootClassPath(agent, jarfile, bootClassPath);
391 * Convert JAR attributes into agent capabilities
393 convertCapabilityAtrributes(attributes, agent);
398 success = createInstrumentationImpl(jni_env, agent);
405 success = setLivePhaseEventHandlers(agent);
410 * Start the agent
413 success = startJavaAgent(agent,
417 agent->mAgentmainCaller);
490 /* if something is internally inconsistent (no agent), just silently return without touching the buffer */
623 appendClassPath( JPLISAgent* agent,
625 jvmtiEnv* jvmtienv = jvmti(agent);
688 * if it's not absolute then we get the canoncial path of the agent jar
690 * the agent jar.
693 appendBootClassPath( JPLISAgent* agent,
702 jvmtiEnv* jvmtienv = jvmti(agent);
780 * search path. Otherwise we get the canonical path of the agent jar