Instrumentation in native code
Prashant Deva <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <CAEg0NFbJ9GCunEi8gWfA5c5zruhtF8wA7puHRont+=yqJ38_tA@mail.gmail.com> |
I was wondering if there is a bytecode instrumentation library similar to asm for C/C++. Since ASM is written in Java, it can only be used within a javaagent. This limits its ability to instrument classes loaded before the java agent loads. For example, we would like to add fields to the java.lang.Thread class. This can only be done through a native agent, since by the time the javaagent loads, the Thread class is already loaded and thus we cannot add fields to it. Prashant
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws