Questions tagged [jvmti]

JVMTI is the Java Virtual Machine Tool Interface, a native API by which authors can write JVM plugins to monitor or modify the execution of a Java Virtual Machine.

Documentation for the current JVMTI 1.2. Home page for JVMTI in JDK 7.

JVMTI was introduced in JDK 5. It replaces Java Virtual Machine Profiler Interface (JVMPI) and the Java Virtual Machine Debug Interface (JVMDI).

214 questions
0
votes
1 answer

Any DVM tool interface for Android application (JVMTI for java equivalent)?

The Eclipse debugger still works for Android applications. This makes me wonder how this debugger is actually implemented. Is it implemented separately for DVM and JVM, or is there some common interface where people can get heap and stack…
Wei Yang
  • 895
  • 3
  • 15
  • 26
-1
votes
1 answer

A java Agent to inspect all JVM running classes?

I am trying do an academic project on BCI and JavaAssist. I would be glad if anyone could help me with these: Is it possible to build a java agent which can inspect/control all classes running currently in the JVM? Is it possible to build a java…
-1
votes
1 answer

JVMTI native agent (DLL) can not be loaded to a runing Java program - AgentLoadException

I struggled on this issue for a few days but didn't get a right answer yet. Here is the Problem Description: I wrote a normal Java program (Program-A), and wrote a Windows-based native agent (*.dll, written in C/C++) with Agent_OnLoad,…
Woodbridge
  • 11
  • 2
-2
votes
1 answer

Modifying Java Methods/Bytecode in Runtime with C++

me and a friend of mine are working on a coding project and we ran into a little issue. We are essentially trying to modify Java Methods/Bytecode during runtime using C++. I am just curious if this is possible or how it is possible. We have already…
BigLenny
  • 11
  • 2
1 2 3
14
15