A JVMTI environment can be created in JVM_OnLoad (the entry point when
using -Xrun) -- however much of JVMTI functionality requires capabilities
to be set and these can only be set before the VM is initialized (that is,
in the Agent_OnLoad entry point).
For example, hprof is launched with:
-Xrunhprof
A JVMTI version of hprof cannot be written which is launched with this
command line.
using -Xrun) -- however much of JVMTI functionality requires capabilities
to be set and these can only be set before the VM is initialized (that is,
in the Agent_OnLoad entry point).
For example, hprof is launched with:
-Xrunhprof
A JVMTI version of hprof cannot be written which is launched with this
command line.
- relates to
-
JDK-4918265 changes to agent loading code break JPDA, hprof, jdb, etc on Windows/XP ia64
- Resolved
-
JDK-4639363 Java Platform Profiling Architecture (JSR-163)
- Resolved