Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp) v1.0

Wiki Markup
The JVM Tool Interface \[[JVMTI 2006|AA. JavaBibliography#JVMTI References#JVMTI 06]\] provides facilities for querying the internals of a JVM and includes methods for monitoring and modifying the behavior of a running Java program. These low level facilities require the use of the Java Native Interface (JNI) and C language programming. The JVM Tool Interface is typically used by development and monitoring tools. 

...

Wiki Markup
Some JVMs allow agents to be started when the JVM is already running. This is not secure in a production environment. Refer to the JVMTI documentation \[[JVMTI 2006|AA. JavaBibliography#JVMTI References#JVMTI 06]\] for platform specific information on enabling/disabling this feature. 

Wiki Markup
Platforms that support environment variables allow agents to be specified in such variables. "Platforms may disable this feature in cases where security is a concern; for example, the Reference Implementation disables this feature on UNIX systems when the effective user or group ID differs from the real ID" \[[JVMTI 2006|AA. Java References#JVMTIBibliography#JVMTI 06]\].

Agents may run under the default security manager without requiring any permissions to be granted. While the JVMTI is useful for debuggers and profilers, such levels of access may be inappropriate for all users of the JVM.

...

Wiki Markup
\[[JVMTI 2006|AA. Java References#JVMTIBibliography#JVMTI 06]\]
\[[Long 2005|AA. Java References#LongBibliography#Long 05]\] Section 2.6, The JVM Tool Interface

...