harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li" <liyilei1...@gmail.com>
Subject Re: [classlib] Intention to work on java.lang.instrument
Date Wed, 02 Aug 2006 02:04:40 GMT
On 8/1/06, Gregory Shimansky <gshimansky@gmail.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Leo Li
China Software Development Lab, IBM

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message