aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release/README-1.6.10.adoc
blob: 31a44ab8fdd4eda9000937ad6f3a1808bce6fe15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
= AspectJ 1.6.10

_© Copyright 2010 Contributors. All rights reserved._

The full list of resolved issues in 1.6.10 is available
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;product=AspectJ;target_milestone=1.6.10;target_milestone=1.6.10M1;target_milestone=1.6.10M2;target_milestone=1.6.10RC1[here]

_Release info: 1.6.10 available 17-Nov-2010_

== Changes

1.6.10 is primilarily just bug fixes for AspectJ, mainly in the areas of
ITDs and generic aspects. However, there are a couple of important
changes that users ought to be aware of:

=== AJDT Memory usage

Type demotion has been in use during loadtime weaving for a while now,
this enables the load time weavers to discard state and recover it at a
later time (and so generally run with a smaller memory footprint). Type
demotion is now supported under AJDT in Eclipse and will enable AJDT to
run with smaller heaps. This feature is still experimental and needs
turning ON if you want to try it out. To turn it on, open your AspectJ
project properties in eclipse and in the AspectJ Compiler section,
scroll down to 'Other' and in the non-standard compiler options setting,
specify:

[source, text]
....
-Xset:minimalModel=true,typeDemotion=true
....

If I can get enough positive feedback about this option, it will be made
the default. For a more detailed write up, check out the blog post:
http://andrewclement.blogspot.com/2010/07/ajdt-memory-usage-reduction.html

=== Runtime changes

A big thank you to Abraham Nevado and his team who have been working on
some issues to optimize loadtime weaving and the code generated by
AspectJ. 1.6.10 includes some new changes to the aspectjrt.jar. The
changes are new methods that enable the woven code to be a little
shorter/neater. As we want to continue to have compatibility with older
aspectjrt.jar a user needs to choose to activate these optimizations by
specifying the option: -Xset:targetRuntime1_6_10=true. With that option
on you will need to ensure you run against the aspectjrt.jar from a
1.6.10 build.

The changes are discussed in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323438[bug 323438]