Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

jni and jvmti

Thread view: 
anshu.veda@gmail.com - 21 Mar 2006 08:15 GMT
Hi,

I need to log all method invocations in the form:
<caller object's tag, called object's tag>

I have managed to write the code for tagging each instance.

I have further instrumented method entry and exit.. but that only gives
me the handle of object being invoked.

I am using a code similar to the heapTracker lib(jvmti demos in jdk1.5
distribution), for tagging objects..

can ne one help me ???

Thanks in advance,

~anshu
Gordon Beaton - 21 Mar 2006 17:45 GMT
> can ne one help me ???

Maybe.

But you'll get more help if you actually ask a question and say what
you're having problems with.

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

anshu.veda@gmail.com - 22 Mar 2006 11:25 GMT
yeah i guess you missed the start of the post..
I need to log all method invocations in the form:
<caller object's tag, called object's tag>
May be I 'll elaborate:
Suppose some object of class B say b invokes a method on an object of
class A, say instance a..

In need the info: <object tag of b, object tag of a>
(P.S. I donot want just the class name.. thats is available in
stacktrace.)
Assume tagging is done and each instance is tagged with its
instantiation history, so two  instances of same class may have have
different tags.

How do I do this.
It would be great if I could get some help.
Thanks,
~anshu


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.