Chord passes several options to chord_instr_agent, many of which are not
for consumption by the agent itself but are passed on to the other JVM
processing events in the case of a dynamic analysis. Some of these options
take file names as values (e.g. instr_scheme_file_name) which can get very
long since they are absolute paths in the file system. Unfortunately some
JVMs, like some versions of IBM J9, have a limited buffer size for options,
in which case the "options" string passed to a JVM agent via the below
function is silently truncated:
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *jvm, char *options, void
*reserved)
Use a workaround such as a file to communicate options between the event-
generating and event-processing JVM, instead of via JVM agent options.
Original issue reported on code.google.com by mayur.naik on 27 Mar 2010 at 4:52
Original issue reported on code.google.com by
mayur.naik
on 27 Mar 2010 at 4:52