-agentlib:foobar.so problems

Peter Lawrence Peter.Lawrence at Sun.COM
Thu Jul 26 23:12:33 UTC 2007


does anyone know how to get a jvmti plugin to work  ?

I wrote one, but I can't get the jvm to load it...



> java -agentlib:jitsyms.so fib
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: jitsyms.so


> ls -l jitsyms.so
-rwxr-xr-x   1 peterl   archperf    7232 Jul 25 12:22 jitsyms.so


> nm jitsyms.so | grep Agent_OnLoad
[66]    |      2024|     224|FUNC |GLOB |0    |8      |Agent_OnLoad





thanks,
Pete Lawrence.



More information about the discuss mailing list