Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Minor API request for BcelObjectType

Title: Minor API request for BcelObjectType

Hi,

We have been using AspectJ successfully in our development. AspectJ helps us a great deal. Thanks.

We had this memory issue with AspectJ, since every JavaClass instance was kept live all the time. To put it in real number, for example, to start weblogic app server 8.1.3 for integration, the extra memory usage by AspectJ was about 150M to 180M.

We would like to request the following changes for modifiers in BcelObjectType.java, ( No functionality change at all )
1) first 15 private data members changed from private to protected
2) constructor changed from package access to protected.
3) method getJavaClass changed from package to public. ( Even setJavaClass is public )

That way, we can subclass BcelObjectType, make it MyBcelObjectType, then kill this object when appropriate due to our own way of using AspectJ, we are able to cut the memory usage by 90% to around 15M now.

Let me know if you have any questions about my request.

Thanks a lot,

Larry


Back to the top