]> source.dussan.org Git - aspectj.git/log
aspectj.git
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

18 years agosupport for messageHolder attribute even when forking (see corresponding change in...
acolyer [Mon, 30 Jan 2006 17:32:43 +0000 (17:32 +0000)]
support for messageHolder attribute even when forking (see corresponding change in ajc.Main)

18 years agoenh 123423 (expose PTW type) - code currently commented out until return type of...
aclement [Mon, 30 Jan 2006 10:27:20 +0000 (10:27 +0000)]
enh 123423 (expose PTW type) - code currently commented out until return type of getWithinType() decided...

18 years agofixes for 125475/125480 - matches nothing @AJ support. Definetly *NOT* as clean...
aclement [Mon, 30 Jan 2006 10:25:59 +0000 (10:25 +0000)]
fixes for 125475/125480 - matches nothing @AJ support.  Definetly *NOT* as clean as it could be, but works.

18 years agoavoid NPE (125657)
aclement [Mon, 30 Jan 2006 10:24:49 +0000 (10:24 +0000)]
avoid NPE (125657)

18 years agotestcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) -...
aclement [Mon, 30 Jan 2006 10:22:44 +0000 (10:22 +0000)]
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) - last one currently commented out.

18 years agotestcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type)
aclement [Mon, 30 Jan 2006 10:22:10 +0000 (10:22 +0000)]
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type)

18 years agouseful definition of STRING
aclement [Mon, 30 Jan 2006 10:20:37 +0000 (10:20 +0000)]
useful definition of STRING

18 years agofix and test for 123901. test for 125475 (commented out)
aclement [Sun, 29 Jan 2006 10:12:10 +0000 (10:12 +0000)]
fix and test for 123901.  test for 125475 (commented out)

18 years agofixes for the AST - see comment #26 in 110465. Now exposes perclause/privileged...
aclement [Fri, 27 Jan 2006 15:50:36 +0000 (15:50 +0000)]
fixes for the AST - see comment #26 in 110465.  Now exposes perclause/privileged information.

18 years agofix for 121395 - error message on stupid aspectpath
aclement [Fri, 27 Jan 2006 12:30:21 +0000 (12:30 +0000)]
fix for 121395 - error message on stupid aspectpath

18 years agofix for 125405 - demote raws to simple on incremental compiles when necessary.
aclement [Fri, 27 Jan 2006 11:34:14 +0000 (11:34 +0000)]
fix for 125405 - demote raws to simple on incremental compiles when necessary.

18 years agotestcode for 125405
aclement [Fri, 27 Jan 2006 11:11:34 +0000 (11:11 +0000)]
testcode for 125405

18 years agohelens changes for 125295 - should keep AJDT happy.
aclement [Thu, 26 Jan 2006 15:32:48 +0000 (15:32 +0000)]
helens changes for 125295 - should keep AJDT happy.

18 years agoincludes the AST changes already checked into shadows - see pr110465
aclement [Thu, 26 Jan 2006 11:00:54 +0000 (11:00 +0000)]
includes the AST changes already checked into shadows - see pr110465

18 years agoNew tests for all the AST changes - and updated tests due to the AST being more compr...
aclement [Thu, 26 Jan 2006 10:57:25 +0000 (10:57 +0000)]
New tests for all the AST changes - and updated tests due to the AST being more comprehensive.

18 years agonecessary magic. Factory 'mechanism' used so that the JDT project doesnt have a...
aclement [Thu, 26 Jan 2006 10:57:12 +0000 (10:57 +0000)]
necessary magic.  Factory 'mechanism' used so that the JDT project doesnt have a direct dependency on the ajdt.core project. It references the factory name through a string and dynamically loads the type.

18 years agoSubclass for the AST that is able to create pointcuts/declares/etc. Similar ctors...
aclement [Thu, 26 Jan 2006 10:55:44 +0000 (10:55 +0000)]
Subclass for the AST that is able to create pointcuts/declares/etc.  Similar ctors to the supertype and one method copied into this class that was creating the AST directly when it needs to use the factory now to ensure it creates an instance of this subtype.

18 years agonew placeholder nodes for type patterns and signature patterns. Before this change...
aclement [Thu, 26 Jan 2006 10:54:40 +0000 (10:54 +0000)]
new placeholder nodes for type patterns and signature patterns.  Before this change this info was being 'discarded' and not included in the constructed AST - now it is at least created and held onto.  Future work would create the various subnodes for the different kinds of typepatterns and signaturepatterns - if users want to start analysing them below their 'top level'

18 years agonew distinct nodes for the different types of declare - all follow the standard ASTNo...
aclement [Thu, 26 Jan 2006 10:53:03 +0000 (10:53 +0000)]
new distinct nodes for the different types of declare - all follow the standard ASTNode pattern of having properties defined (modifiers/javadoc/etc).

18 years agooops, crap comment earlier - fix for 125101
aclement [Wed, 25 Jan 2006 17:41:21 +0000 (17:41 +0000)]
oops, crap comment earlier - fix for 125101

18 years agofix is checked in.
aclement [Wed, 25 Jan 2006 17:37:01 +0000 (17:37 +0000)]
fix is checked in.

18 years agofix for 122452 - pattern parser for a duff pointcut definition. Also fix for 125027...
aclement [Wed, 25 Jan 2006 11:28:51 +0000 (11:28 +0000)]
fix for 122452 - pattern parser for a duff pointcut definition.  Also fix for 125027 (deow length set wrong during parsing). latter fix from Helen.

18 years agotest and fix for 125080 - mixing numbers of types in a generic type hierarchy
aclement [Wed, 25 Jan 2006 10:43:34 +0000 (10:43 +0000)]
test and fix for 125080 - mixing numbers of types in a generic type hierarchy

18 years agotest and fix for 125080 - mixing numbers of types in a generic type hierarchy
aclement [Wed, 25 Jan 2006 10:32:05 +0000 (10:32 +0000)]
test and fix for 125080 - mixing numbers of types in a generic type hierarchy

18 years agotestcode for 122452
aclement [Wed, 25 Jan 2006 09:04:53 +0000 (09:04 +0000)]
testcode for 122452

18 years agotest and fix for 124999
aclement [Tue, 24 Jan 2006 16:47:42 +0000 (16:47 +0000)]
test and fix for 124999