jvmti
How to get the full command line in JVMTI?
Is it possible to get full command line with all arguments which was used to launch current Java process and to get that durin开发者_Go百科g OnLoad phase in JVMTI?I have consulted the JVMTI reference[详细]
2023-04-11 04:51 分类:问答JVMTI Agent_OnLoad handler can't create a System Property
I\'m using the JVM Tool Interface. I\'m trying to create a SystemProperty in the Agent_OnLoad event using the SetSystemProperty() call.If the property exists, it correctly sets a new value.However, if[详细]
2023-04-09 06:17 分类:问答JVMTI agent crashes
I\'m working on implementation of eraser data-race detection algorithm as JVMTI agent. When I try to run some example inputs to test my code, the JVM crashes, with dumps like the following (may show o[详细]
2023-04-04 17:22 分类:问答Byte code instrumentation - implement native or java agent?
If I want to realize a profiler using byte code instrumentation, should I write a native agent using JVMTI or should I write a java agent using the java.lang.instrument package?[详细]
2023-04-03 04:21 分类:问答JVMTI equivalent for .NET
I am looking for some Microsoft API that whould have the same capabilities for monitoring .NET applications as JVMTI has for Java applications.[详细]
2023-03-28 12:53 分类:问答JVMTI get name of called Class/File
I tried to read through the whole jvmti documentation and I didn\'t find a solution for my problem. I want to get the name of the class/file that is used in the command line to call the program:[详细]
2023-03-27 12:58 分类:问答How do I catch the read and writes in a java program?
I am trying to create a tool that can capture all the read and writes ma开发者_JS百科de by a java program. Also, I would like to know what fields of what object is access/modified.[详细]
2023-03-22 16:28 分类:问答How to track locking events in JVMTI
JVMTI offers the events ContendedMonitorEnter and ContendedMonitorEntered to detect events related to the use of synchronized. synchronized is nothing else, but a ReentrantLock.[详细]
2023-03-14 11:55 分类:问答Thread-aware heap allocation tracking with JVMTI
Writing a profiling I would also implement the typical task of heap profiling. Specifically I would like to track, which thread has allocated how much data? Using JVMTI I thought it\'s sufficient to h[详细]
2023-03-13 18:52 分类:问答Compile an Agent without errors and the message of "not valid Windows image"
since开发者_开发百科 one week I\'m trying to compile a demo Version of the JVMTI demo set. In this case I tried to compile the HeapViewer Source Code (I just renamed the file HeapViewer.c to HeapViewe[详细]
2023-03-13 09:06 分类:问答