[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-dev] perJoinPoint
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
No, this is not easily possible at the moment (see the perobjects
discussion we had earlier). One workaround would be to store the
joinpoint-specifc state in a hashmap. I think you can even use an
identity hashmap, since joinpoints are pooled IIRC.
Of course for large problems you might accumulate quite a lot of
state over the runtime. But this is more a general problem rather
than specific to AspectJ.
Eric
- --
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University
________________________________
From: aspectj-dev-admin@xxxxxxxxxxx
[mailto:aspectj-dev-admin@xxxxxxxxxxx] On Behalf Of Tavoda Pavel
Sent: Donnerstag, 24. März 2005 11:58
To: aspectj-dev@xxxxxxxxxxx
Subject: [aspectj-dev] perJoinPoint
Is it possible to achieve something like perJoinPoint aspect?
I would like to calculate some statistics for method execution.
TNX
Pavel
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQkKl7MwiFCm7RlWCEQL2gACfRjf4bEHO5IKGHTID3EZeQwi1chMAoJOW
ps0sDujWkuwzpDLcv0SMvf1T
=rpcS
-----END PGP SIGNATURE-----