]> source.dussan.org Git - aspectj.git/log
aspectj.git
18 years agooptimizationasm: various tweaks!! See optimization #7 in 128650
aclement [Wed, 22 Feb 2006 15:26:26 +0000 (15:26 +0000)]
optimizationasm: various tweaks!!  See optimization #7 in 128650

18 years agooptimizationasm: new BCI independant Annotation representation.
aclement [Wed, 22 Feb 2006 15:25:39 +0000 (15:25 +0000)]
optimizationasm: new BCI independant Annotation representation.

18 years agooptimizationasm: has to force that it wants a modifiable (bcel) delegate
aclement [Wed, 22 Feb 2006 15:24:23 +0000 (15:24 +0000)]
optimizationasm: has to force that it wants a modifiable (bcel) delegate

18 years agooptimizationasm: the magic that activates ASM delegates
aclement [Wed, 22 Feb 2006 15:23:49 +0000 (15:23 +0000)]
optimizationasm: the magic that activates ASM delegates

18 years agooptimizationasm: made bci agnostic: SourceContextImpl
aclement [Wed, 22 Feb 2006 15:22:48 +0000 (15:22 +0000)]
optimizationasm: made bci agnostic: SourceContextImpl

18 years agooptimization: less ArrayList garbage creation!
aclement [Wed, 22 Feb 2006 15:22:28 +0000 (15:22 +0000)]
optimization: less ArrayList garbage creation!

18 years agooptimization: less string manipulation
aclement [Wed, 22 Feb 2006 15:21:16 +0000 (15:21 +0000)]
optimization: less string manipulation

18 years agooptimization: minor performance tweak
aclement [Wed, 22 Feb 2006 15:19:38 +0000 (15:19 +0000)]
optimization: minor performance tweak

18 years agooptimizationasm: some test updates since some weaver tests *really* need BCEL modifia...
aclement [Wed, 22 Feb 2006 15:19:12 +0000 (15:19 +0000)]
optimizationasm: some test updates since some weaver tests *really* need BCEL modifiable delegates.

18 years agooptimizationasm: this needs to know if a modifiable (weavable) delegate is required...
aclement [Wed, 22 Feb 2006 15:18:01 +0000 (15:18 +0000)]
optimizationasm: this needs to know if a modifiable (weavable) delegate is required.  Some testcases want a weavable delegate where other decisions we might make would lead us to create an AsmDelegate

18 years agooptimization: less ArrayList garbage creation!
aclement [Wed, 22 Feb 2006 15:16:58 +0000 (15:16 +0000)]
optimization: less ArrayList garbage creation!

18 years agooptimization: encapsulates lazy unpacking of annotations
aclement [Wed, 22 Feb 2006 15:13:48 +0000 (15:13 +0000)]
optimization: encapsulates lazy unpacking of annotations

18 years agooptimizationasm: new BCI independant Annotation representation.
aclement [Wed, 22 Feb 2006 15:11:07 +0000 (15:11 +0000)]
optimizationasm: new BCI independant Annotation representation.

18 years agooptimizationasm: the asm visitors and actual delegate classes
aclement [Wed, 22 Feb 2006 15:04:01 +0000 (15:04 +0000)]
optimizationasm: the asm visitors and actual delegate classes

18 years agooptimizationasm: includes asm-aj dependency
aclement [Wed, 22 Feb 2006 15:02:20 +0000 (15:02 +0000)]
optimizationasm: includes asm-aj dependency

18 years agooptimization: less ArrayList garbage creation!
aclement [Wed, 22 Feb 2006 15:01:47 +0000 (15:01 +0000)]
optimization: less ArrayList garbage creation!

18 years agoone extra guard.
aclement [Wed, 22 Feb 2006 15:00:40 +0000 (15:00 +0000)]
one extra guard.

18 years agorebuilt to include latest optimizations
aclement [Wed, 22 Feb 2006 15:00:34 +0000 (15:00 +0000)]
rebuilt to include latest optimizations

18 years agooptimization: use asm for lightweight delegates
aclement [Wed, 22 Feb 2006 14:59:11 +0000 (14:59 +0000)]
optimization: use asm for lightweight delegates

18 years agooptimization: cache info
aclement [Wed, 22 Feb 2006 14:58:25 +0000 (14:58 +0000)]
optimization: cache info

18 years agotest and fix for 122742 (more @AJ thisJoinPoint problems...)
aclement [Tue, 21 Feb 2006 16:13:44 +0000 (16:13 +0000)]
test and fix for 122742 (more @AJ thisJoinPoint problems...)

18 years agotest and fix for 128618 (from helen) - message handling.
aclement [Tue, 21 Feb 2006 16:07:04 +0000 (16:07 +0000)]
test and fix for 128618 (from helen) - message handling.

18 years agotest and fix for 128237 from Helen
aclement [Tue, 21 Feb 2006 15:55:33 +0000 (15:55 +0000)]
test and fix for 128237 from Helen

18 years agotest and fix for 128744 (or at least the LTW problem Sian hit whilst debugging it...)
aclement [Tue, 21 Feb 2006 15:52:36 +0000 (15:52 +0000)]
test and fix for 128744 (or at least the LTW problem Sian hit whilst debugging it...)

18 years agooops - used Boolean.parseBoolean()
aclement [Tue, 21 Feb 2006 15:42:31 +0000 (15:42 +0000)]
oops - used Boolean.parseBoolean()

18 years agoProgress on: PointcutHandlerDesignator.
acolyer [Tue, 21 Feb 2006 14:06:49 +0000 (14:06 +0000)]
Progress on: PointcutHandlerDesignator.
Ensures that MatchingContext can be used in fast matching too.

18 years agooptimization: use tags not gens. improves memory (create less garbage), faster ...
aclement [Tue, 21 Feb 2006 10:49:15 +0000 (10:49 +0000)]
optimization: use tags not gens.  improves memory (create less garbage), faster (dont need to transform the garbage): see pr128650, optimization #6.

18 years agoexposed method for testing.
aclement [Tue, 21 Feb 2006 09:26:37 +0000 (09:26 +0000)]
exposed method for testing.

18 years agoorganized imports
aclement [Tue, 21 Feb 2006 09:26:13 +0000 (09:26 +0000)]
organized imports

18 years agofixes for 128655
aclement [Tue, 21 Feb 2006 09:25:47 +0000 (09:25 +0000)]
fixes for 128655

18 years agotestcode for 128655
aclement [Tue, 21 Feb 2006 09:25:09 +0000 (09:25 +0000)]
testcode for 128655

18 years agoFix for 128699 - message. From Ramnivas.
aclement [Mon, 20 Feb 2006 19:32:59 +0000 (19:32 +0000)]
Fix for 128699 - message.  From Ramnivas.

18 years agooptimization: reset logic for primitives so they don't anchor a world instance in...
aclement [Mon, 20 Feb 2006 17:28:17 +0000 (17:28 +0000)]
optimization: reset logic for primitives so they don't anchor a world instance in static.

18 years agoSpacewar - a small project that exercises the compiler.
aclement [Mon, 20 Feb 2006 08:15:44 +0000 (08:15 +0000)]
Spacewar - a small project that exercises the compiler.

18 years agotest for 123553
wisberg [Fri, 17 Feb 2006 19:41:52 +0000 (19:41 +0000)]
test for 123553

18 years agotest for 128128 - also grouped test cases to better disable by commenting
wisberg [Thu, 16 Feb 2006 22:58:11 +0000 (22:58 +0000)]
test for 128128 - also grouped test cases to better disable by commenting

18 years agofix for 128128 - suggestion correct
wisberg [Thu, 16 Feb 2006 22:57:18 +0000 (22:57 +0000)]
fix for 128128 - suggestion correct

18 years agofeature: Use ASM for non-woven types: testcode
aclement [Thu, 16 Feb 2006 18:48:49 +0000 (18:48 +0000)]
feature: Use ASM for non-woven types: testcode

18 years agojust a comment.
aclement [Thu, 16 Feb 2006 18:47:25 +0000 (18:47 +0000)]
just a comment.

18 years agoorganized imports
aclement [Thu, 16 Feb 2006 18:47:02 +0000 (18:47 +0000)]
organized imports

18 years agotest and fix for 122370 (Andy & Helen) - code generated for @Decp busted.
aclement [Thu, 16 Feb 2006 16:50:34 +0000 (16:50 +0000)]
test and fix for 122370 (Andy & Helen) - code generated for @Decp busted.

18 years agotest and fix for 121616
aclement [Thu, 16 Feb 2006 09:33:38 +0000 (09:33 +0000)]
test and fix for 121616

18 years agotests and (slightly reworked) fix for 125699 from Helen. @AJ bug with inherited advic...
aclement [Thu, 16 Feb 2006 09:04:45 +0000 (09:04 +0000)]
tests and (slightly reworked) fix for 125699 from Helen. @AJ bug with inherited advice from code style aspects.

18 years agoSupport for "-Xset:name=value,name=value,name=value". The name/value data is stored...
aclement [Thu, 16 Feb 2006 09:04:13 +0000 (09:04 +0000)]
Support for "-Xset:name=value,name=value,name=value".  The name/value data is stored in a properties object in the world and is accessible through getExtraConfiguration().  This will enable easier tailoring of weaver/world behaviour since you wont need to add new X option processing for every little thing.  Should possibly only be used for tuning parameters.

18 years agotest and fix for 120527 and test (commented out) for 127299
aclement [Wed, 15 Feb 2006 11:10:46 +0000 (11:10 +0000)]
test and fix for 120527   and test (commented out) for 127299

18 years agotest and fix for 120527
aclement [Wed, 15 Feb 2006 11:10:19 +0000 (11:10 +0000)]
test and fix for 120527

18 years agooptimization: made unpacking of the table lazy. With a minor change in AJ itself...
aclement [Wed, 15 Feb 2006 09:41:19 +0000 (09:41 +0000)]
optimization: made unpacking of the table lazy.  With a minor change in AJ itself, this results in us only unpacking 15000 of the 39000 local variable table objects constructed during a build of shadows.  Saving space and time.

18 years agooptimization: made unpacking of the table lazy. With a minor change in AJ itself...
aclement [Wed, 15 Feb 2006 09:15:34 +0000 (09:15 +0000)]
optimization: made unpacking of the table lazy.  With a minor change in AJ itself, this results in us only unpacking 15000 of the 39000 local variable table objects constructed during a build of shadows.  Saving space and time.

18 years agoinclude latest bcel changes.
aclement [Tue, 14 Feb 2006 14:32:29 +0000 (14:32 +0000)]
include latest bcel changes.

18 years agotidy up after yourself
aclement [Tue, 14 Feb 2006 14:09:35 +0000 (14:09 +0000)]
tidy up after yourself

18 years agoBugette: annotation value of primitive type 'char' wasnt working !
aclement [Tue, 14 Feb 2006 14:06:36 +0000 (14:06 +0000)]
Bugette: annotation value of primitive type 'char' wasnt working !

18 years agooptimization: rather than continuously constructing new arrays from the linked lists...
aclement [Tue, 14 Feb 2006 13:32:07 +0000 (13:32 +0000)]
optimization: rather than continuously constructing new arrays from the linked lists of instructions, we create one array and use it multiple times in MethodGen.

18 years agooptimization: less fiddling with collections when setting up the localvariables for...
aclement [Tue, 14 Feb 2006 08:47:30 +0000 (08:47 +0000)]
optimization: less fiddling with collections when setting up the localvariables for a woven method.

18 years agooptimization: use bit twiddling rather than Sets for manipulating the list of Pointcu...
aclement [Mon, 13 Feb 2006 15:37:17 +0000 (15:37 +0000)]
optimization: use bit twiddling rather than Sets for manipulating the list of Pointcut.couldMatchKinds - (saves a few percent when building shadows in my tests...)

18 years agooptimization: char rather than string manipulation
aclement [Mon, 13 Feb 2006 15:19:39 +0000 (15:19 +0000)]
optimization: char rather than string manipulation

18 years agooptimization: dont unnecessarily build signatures and faster signature processing.
aclement [Mon, 13 Feb 2006 15:19:36 +0000 (15:19 +0000)]
optimization: dont unnecessarily build signatures and faster signature processing.

18 years agoorganized imports
aclement [Mon, 13 Feb 2006 13:39:34 +0000 (13:39 +0000)]
organized imports

18 years agolessen the cost of hashcode and equals
aclement [Mon, 13 Feb 2006 10:51:24 +0000 (10:51 +0000)]
lessen the cost of hashcode and equals

18 years agofix for 119882 (from Helen) - similar to fix for 113531
aclement [Mon, 13 Feb 2006 10:51:11 +0000 (10:51 +0000)]
fix for 119882 (from Helen) - similar to fix for 113531

18 years agoProgress on: empty catch block warning - compiler changes to warn on empty catch...
acolyer [Fri, 10 Feb 2006 18:08:01 +0000 (18:08 +0000)]
Progress on: empty catch block warning - compiler changes to warn on empty catch block

18 years agoProgress on: empty catch block warning - option support
acolyer [Fri, 10 Feb 2006 18:01:17 +0000 (18:01 +0000)]
Progress on: empty catch block warning - option support

18 years agoProgress on: empty catch block warning - test cases
acolyer [Fri, 10 Feb 2006 18:00:52 +0000 (18:00 +0000)]
Progress on: empty catch block warning - test cases

18 years agoProgress on: empty catch block warning - updates to test cases with empty catch blocks
acolyer [Fri, 10 Feb 2006 17:59:13 +0000 (17:59 +0000)]
Progress on: empty catch block warning - updates to test cases with empty catch blocks

18 years agoProgress on: empty catch block warning - extra lint message
acolyer [Fri, 10 Feb 2006 17:58:12 +0000 (17:58 +0000)]
Progress on: empty catch block warning - extra lint message

18 years agodefine some constants to avoid spreading string literals around
acolyer [Fri, 10 Feb 2006 17:57:49 +0000 (17:57 +0000)]
define some constants to avoid spreading string literals around

18 years agoprovide a way to reset dump state to free up memory
acolyer [Fri, 10 Feb 2006 17:56:44 +0000 (17:56 +0000)]
provide a way to reset dump state to free up memory

18 years agofree up memory anchored in static at the end of a run
acolyer [Fri, 10 Feb 2006 17:55:33 +0000 (17:55 +0000)]
free up memory anchored in static at the end of a run

18 years agoI don't think this class is actively used anymore...
acolyer [Fri, 10 Feb 2006 17:54:53 +0000 (17:54 +0000)]
I don't think this class is actively used anymore...

18 years agodon't hold onto references to AjBuildConfigs
acolyer [Fri, 10 Feb 2006 17:54:11 +0000 (17:54 +0000)]
don't hold onto references to AjBuildConfigs

18 years agodon't hold eclipse source types in ajstate
acolyer [Fri, 10 Feb 2006 17:53:34 +0000 (17:53 +0000)]
don't hold eclipse source types in ajstate

18 years agogo "back to the source" on an incremental aspect change
acolyer [Fri, 10 Feb 2006 17:52:55 +0000 (17:52 +0000)]
go "back to the source" on an incremental aspect change

18 years agoPut compilation-and-weaving-context into multi-thread mode when doing LTW
acolyer [Fri, 10 Feb 2006 17:04:19 +0000 (17:04 +0000)]
Put compilation-and-weaving-context into multi-thread mode when doing LTW

18 years agodon't hold hard references to state in this context. Assume single threaded unless...
acolyer [Fri, 10 Feb 2006 17:03:32 +0000 (17:03 +0000)]
don't hold hard references to state in this context. Assume single threaded unless told otherwise. Provide reset to ditch memory we are holding.

18 years agocomment fix
aclement [Fri, 10 Feb 2006 13:30:33 +0000 (13:30 +0000)]
comment fix

18 years agofix for 120356 - better feedback for DEOW when using @AJ. (from helen)
aclement [Fri, 10 Feb 2006 11:25:44 +0000 (11:25 +0000)]
fix for 120356 - better feedback for DEOW when using @AJ. (from helen)

18 years agofix for 123212 - ignoring subversion resources
aclement [Fri, 10 Feb 2006 07:55:32 +0000 (07:55 +0000)]
fix for 123212 - ignoring subversion resources

18 years agolazy unpacking of the line number table contents. Only done when required - usually...
aclement [Tue, 7 Feb 2006 15:17:06 +0000 (15:17 +0000)]
lazy unpacking of the line number table contents.  Only done when required - usually when a MethodGen built for a Method (i.e. we are going to weave it).

18 years agolazy unpacking of the table contents. Only done when required - usually when a Metho...
aclement [Tue, 7 Feb 2006 15:15:42 +0000 (15:15 +0000)]
lazy unpacking of the table contents.  Only done when required - usually when a MethodGen built for a Method (i.e. we are going to weave it).

18 years agodont do anything if we dont have to.
aclement [Tue, 7 Feb 2006 14:54:20 +0000 (14:54 +0000)]
dont do anything if we dont have to.

18 years agonot perfect yet - but some I'm using.
aclement [Tue, 7 Feb 2006 12:26:54 +0000 (12:26 +0000)]
not perfect yet - but some I'm using.

18 years agoHelen and Eduardos AST changes for 110465
aclement [Mon, 6 Feb 2006 13:31:23 +0000 (13:31 +0000)]
Helen and Eduardos AST changes for 110465

18 years agoProgress on: Bug 126328: IlegalStateException : zip file closed
acolyer [Fri, 3 Feb 2006 11:52:01 +0000 (11:52 +0000)]
Progress on: Bug 126328: IlegalStateException : zip file closed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126328

closes the loop hole with >1000 jars, and adds some extra sanity checks on potentially closed zip files (tested that the call is cheap) to give better error messages.

18 years agoProgress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
acolyer [Fri, 3 Feb 2006 11:00:46 +0000 (11:00 +0000)]
Progress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126316

  --> fix and test case

18 years agoProgress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
acolyer [Fri, 3 Feb 2006 10:16:11 +0000 (10:16 +0000)]
Progress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126316
  --> test case to reproduce

18 years agomore detail in memory answers, on incremental mode and strong static reference to...
wisberg [Thu, 2 Feb 2006 23:35:16 +0000 (23:35 +0000)]
more detail in memory answers, on incremental mode and strong static reference to singleton aspects

18 years agosimple visitor added that lets you discover if a pointcut binds this or target
aclement [Thu, 2 Feb 2006 11:33:10 +0000 (11:33 +0000)]
simple visitor added that lets you discover if a pointcut binds this or target

18 years agoErr, corrected to visit the right branch as well as the left...
aclement [Thu, 2 Feb 2006 11:32:44 +0000 (11:32 +0000)]
Err, corrected to visit the right branch as well as the left...

18 years ago@AJ around tests for 126167
aclement [Thu, 2 Feb 2006 11:31:58 +0000 (11:31 +0000)]
@AJ around tests for 126167

18 years agothats better.
aclement [Wed, 1 Feb 2006 16:16:16 +0000 (16:16 +0000)]
thats better.

18 years agooops
aclement [Wed, 1 Feb 2006 15:38:11 +0000 (15:38 +0000)]
oops

18 years agofix for 125810 (from helen)
aclement [Wed, 1 Feb 2006 15:20:44 +0000 (15:20 +0000)]
fix for 125810 (from helen)

18 years agotestcode for 125699 and 125810 from matthew. test for 125699 commented out.
aclement [Wed, 1 Feb 2006 15:20:37 +0000 (15:20 +0000)]
testcode for 125699 and 125810 from matthew. test for 125699 commented out.

18 years agofree up maps during cleanup() processing
acolyer [Tue, 31 Jan 2006 18:14:25 +0000 (18:14 +0000)]
free up maps during cleanup() processing

18 years agoget build configuration via accessor, not direct field access
acolyer [Tue, 31 Jan 2006 18:13:49 +0000 (18:13 +0000)]
get build configuration via accessor, not direct field access

18 years agomade all the state in AjState private so we can get a better handle on what's going...
acolyer [Tue, 31 Jan 2006 18:13:24 +0000 (18:13 +0000)]
made all the state in AjState private so we can get a better handle on what's going on. Added accessors where needed and extensively commented the lifecycle of the key state we hold.

18 years agocleanup the EclipseFactory afterCompilation
acolyer [Tue, 31 Jan 2006 18:12:19 +0000 (18:12 +0000)]
cleanup the EclipseFactory afterCompilation

18 years agoadded a cleanup method to release memory held in type maps
acolyer [Tue, 31 Jan 2006 18:11:52 +0000 (18:11 +0000)]
added a cleanup method to release memory held in type maps

18 years agodom changes for 125809 (from helen)
aclement [Tue, 31 Jan 2006 12:53:10 +0000 (12:53 +0000)]
dom changes for 125809 (from helen)

18 years agosupport for -messageHolder command-line option. This is needed by the forking iajc...
acolyer [Mon, 30 Jan 2006 17:34:58 +0000 (17:34 +0000)]
support for -messageHolder command-line option. This is needed by the forking iajc ant task to support use of a custom message handler when forking.

18 years agosupport for -messageHolder : do nothing since this (obviously) has to be processed...
acolyer [Mon, 30 Jan 2006 17:33:30 +0000 (17:33 +0000)]
support for -messageHolder : do nothing since this (obviously) has to be processed very early in ajc.Main