[aosd-discuss] Any AOP implementations using VM-hooks?
Jonas Bonér
jonas_boner at yahoo.com
Mon Jan 26 03:19:30 EST 2004
If you are interested in an open source implementation that weaves at loadtime you should take a
look at AspectWerkz [http://aspectwerkz.codehaus.org], which weaves at load time using the JDI API
in Java 1.4 (HotSwap).
It also has a prototype for runtime weaving based on the new JVMTI API in Java 1.5 which will
standardize class redefinition at runtime (a prototype that will be stableized and released within
some months).
/Jonas
--- Andreas Frei <frei at inf.ethz.ch> wrote:
> Hi Eric
>
> I know of two projectw which are using the JPDA to weave aspets at
> runtime without modiving the jvm.
>
> PROSE:
> -----
> http://prose.ethz.ch, this one uses the jvmdi, on each joinpoint the
> debugger will execute code which has been identified in the
> aspect-advice.
>
> paper: Just In Time Aspects: Efficient Dynamic Weaving for Java;2nd
> Intl. Conf. on Aspect-Oriented
> Software Development, Boston, USA; A. Popovici and G. Alonso and T.
> Gross
>
> Wool:
> ----
> paper: Workshop on Advancing the State of the Art in Runtime
> Inspection (ASARTI), ECOOP'03 (Shigeru Chiba, Yoshiki Sato, and Michiaki
> Tatsubori)
> A Selective, Just-in-Time Aspect Weaver; Proceedings of the 2nd
> International Conference on Generative Programming and Component
> Engineering (GPCE '03); Yoshiki Sato and Shigeru Chiba and Michiaki
> Tatsubori
>
> for this one I couldn't find an open source implementation, but
> Chiba et al. uses in their implementation the JDI (the highest layer of
> the JPDA.
>
>
> cheers,
> Andreas
>
>
>
> > -----Original Message-----
> > From: discuss-bounces at aosd.net
> > [mailto:discuss-bounces at aosd.net] On Behalf Of Eric Bodden
> > Sent: Sonntag, 25. Januar 2004 19:13
> > To: discuss at aosd.net
> > Subject: [aosd-discuss] Any AOP implementations using VM-hooks?
> >
> >
> > Hi altogether.
> >
> > I was just wondering if there are any approaches out there
> > that implement AOP based solutions by implementing hooks in a
> > virtual machine for "firing" advice on joinpoints. I have
> > seen the work "Just-In-Time" Java, however that reduces to
> > something similar to load-time weaving. The only difference
> > seems to be that weaving is performed by a modified JIT.
> >
> > Or am I missing some point that even makes such an
> > implementation impossible?
> >
> > Thank in advance,
> > Eric
> >
> > --
> > Eric Bodden
> > Aachen University of Technology (RWTH)
> > ICQ UIN: 12656220
> > Website: http://www.bodden.de
> > PGP key: http://www.bodden.de/pub_key.asc
> >
> >
> >
> >
> > __________________________________________________
> > AOSD Discuss mailing list - discuss at aosd.net
> > To unsubscribe go to http://aosd.net
> >
>
>
> __________________________________________________
> AOSD Discuss mailing list - discuss at aosd.net
> To unsubscribe go to http://aosd.net
=====
Jonas
http://blogs.codehaus.org/people/jboner/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
More information about the discuss
mailing list