You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README-1610.html 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html> <head>
  3. <title>AspectJ 1.6.10 Readme</title>
  4. <style type="text/css">
  5. <!--
  6. P { margin-left: 20px; }
  7. PRE { margin-left: 20px; }
  8. LI { margin-left: 20px; }
  9. H4 { margin-left: 20px; }
  10. H3 { margin-left: 10px; }
  11. -->
  12. </style>
  13. </head>
  14. <body>
  15. <div align="right"><small>
  16. &copy; Copyright 2010 Contributors.
  17. All rights reserved.
  18. </small></div>
  19. <h1>AspectJ 1.6.10 Readme</h1>
  20. <p>The full list of resolved issues in 1.6.10 is available <a href="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</a></h2></p>
  21. <h2>Changes</h2>
  22. <p>1.6.10 is primilarily just bug fixes for AspectJ, mainly in the areas of ITDs and generic aspects. However, there are a couple
  23. of important changes that users ought to be aware of:</p>
  24. <h3>AJDT Memory usage</h3>
  25. <p>Type demotion has been in use during loadtime weaving for a while now, this enables the load time weavers to discard state
  26. and recover it at a later time (and so generally run with a smaller memory footprint). Type demotion is now supported under AJDT
  27. in Eclipse and will enable AJDT to run with smaller heaps. This feature is still experimental and needs turning ON if you want
  28. 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
  29. in the non-standard compiler options setting, specify:</p>
  30. <pre><tt>-Xset:minimalModel=true,typeDemotion=true</tt></pre>
  31. <p>If I can get enough positive feedback about this option, it will be made the default. For a more detailed write up, check out
  32. the blog post:
  33. <a href="http://andrewclement.blogspot.com/2010/07/ajdt-memory-usage-reduction.html">
  34. http://andrewclement.blogspot.com/2010/07/ajdt-memory-usage-reduction.html</a>
  35. </p>
  36. <h3>Runtime changes</h3>
  37. <p>A big thank you to Abraham Nevado and his team who have been working on some issues to optimize loadtime weaving and the
  38. code generated by AspectJ. 1.6.10 includes some new changes to the aspectjrt.jar. The changes are new methods that enable
  39. 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
  40. choose to activate these optimizations by specifying the option: <tt>-Xset:targetRuntime1_6_10=true</tt>. With that option on
  41. you will need to ensure you run against the aspectjrt.jar from a 1.6.10 build.</p>
  42. <p>The changes are discussed in <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323438">bug 323438</a></p>
  43. <h4>
  44. <!-- ============================== -->
  45. </body>
  46. </html>