On 8/1/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote:

On Tuesday 01 August 2006 09:47 Leo Li wrote:
> > I agree with this approach. Do you know which API functions and events
> > you will need for such agent?
>
>  Hi, we will need VM Initialization Event to run premain functions and
> Class File Load Hook Event for agents to instruct the existing class
file.
> As to the jvmti API, we need RedefineClasses,GetObjectSize and Allocate.
> Besides, AddCapabilities is also required to turn on the capability of
the
> VM, such as can_generate_all_class_hook_events and can_redefine_classes.
>
> Since we have just planned to implement this module, please excuse me if
I
> leave some requirements about it. :)

It is not a problem. I just wanted to know which areas are required, not
every
single API function :)

All of the functions and events that you mentioned are implemented already
except for RedefineClasses. It is on the TODO list for drlvm.


Good! Maybe we can test instruments on drlvm some day.:)

--
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Leo Li
China Software Development Lab, IBM

Reply via email to