diff src/share/vm/prims/jvmti.xml @ 12220:8e94527f601e

8024007: Misc. cleanup of static agent code Summary: Minor cleanup of static agent code from 8014135 Reviewed-by: dcubed, sspitsyn
author bpittore
date Wed, 11 Sep 2013 20:03:34 -0400
parents f92b82d454fa
children
line wrap: on
line diff
--- a/src/share/vm/prims/jvmti.xml	Fri Sep 06 11:11:19 2013 -0700
+++ b/src/share/vm/prims/jvmti.xml	Wed Sep 11 20:03:34 2013 -0400
@@ -458,8 +458,10 @@
       the same name from being loaded dynamically.
 <p/>
       The VM will invoke the Agent_OnUnload_L function of the agent, if such
-      a function is exported, at the same point during startup as it would
-      have called the dynamic entry point Agent_OnUnLoad.
+      a function is exported, at the same point during VM execution as it would
+      have called the dynamic entry point Agent_OnUnLoad. A statically loaded
+      agent cannot be unloaded. The Agent_OnUnload_L function will still be
+      called to do any other agent shutdown related tasks. 
       If a <i>statically linked</i> agent L exports a function called
       Agent_OnUnLoad_L and a function called Agent_OnUnLoad, the Agent_OnUnLoad
       function will be ignored.