From: aclement
Date: Fri, 7 May 2004 08:50:24 +0000 (+0000)
Subject: Added notes on:
X-Git-Tag: V1_2_0~19
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d707dcb0ccf45d515b3cb1d350695fc38992819;p=aspectj.git
Added notes on:
- Incompatible BCEL versions and what we think the solution is ;)
- CflowStack changes to improve performance for multi-threaded cflow apps.
---
diff --git a/docs/dist/doc/README-12.html b/docs/dist/doc/README-12.html
index 4aff86ebc..8f9f541ff 100644
--- a/docs/dist/doc/README-12.html
+++ b/docs/dist/doc/README-12.html
@@ -107,7 +107,9 @@ together with porting.html.
Although not part of aspectjrt.jar
this release also provides a new set of
tools APIs in the org.aspectj.weaver.tools
that provide a weaving class loader
and an adapter that can be used to integrate load-time weaving into an existing class loader
- hierarchy.
+ hierarchy.
+ Cflow stack management has been modified to use thread local storage on JVMs that support this feature.
+ This improves performance in terms of heap usage for multi-threaded applications that use cflow.
diff --git a/docs/dist/doc/changes.html b/docs/dist/doc/changes.html
index 495b0a96a..de2b22ce5 100644
--- a/docs/dist/doc/changes.html
+++ b/docs/dist/doc/changes.html
@@ -144,7 +144,7 @@ All rights reserved.
Changes in AspectJ
- - 1.2 (released 2004-04)
+
- 1.2 (released 2004-05)
- 1.1.1 (released 2003-09)
@@ -342,7 +342,11 @@ Some of the more significant bug fixes and enhancements include:
- 47910
An output jar file created by AspectJ when using the -outjar option does not contain a
valid manifest file.
-
+
+ 59909
+ Thread local storage used to manage cflow stacks when available - improves cflow performance
+ when working with a multi-threaded application.
+
diff --git a/docs/dist/doc/porting.html b/docs/dist/doc/porting.html
index d5c693d12..753ab53d9 100644
--- a/docs/dist/doc/porting.html
+++ b/docs/dist/doc/porting.html
@@ -172,6 +172,27 @@ For more information, see bug
47754.
+Watch for problems due to incompatible BCEL versions.
+AspectJ 1.2 includes a different version of BCEL than AspectJ 1.1. If you have the older
+version of BCEL available earlier on your classpath than the version included in the
+1.2 aspectjtools.jar then you will see errors like:
+
+
+C:\work\test\TestAspect.aj error Internal compiler error
+java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.
+createNewArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction;
+
+
+This typically happens because the old version of BCEL has been included as a standard
+extension in your JVM configuration. Ensure you have removed it from jre/lib/ext
+under your JDK installation.
+
+For more information, see bugs including
+ 60389,
+ 59921.
+
+
+
README-11.html contains a discussion
of the language changes from 1.0 to 1.1. The high points: