harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [classlib] Intention to work on java.lang.instrument
Date Tue, 01 Aug 2006 09:49:08 GMT
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.

-- 
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message