Pawel Veselov created JASSIST-194:
-------------------------------------
Summary: Optimize local variables use
Key: JASSIST-194
URL:
https://issues.jboss.org/browse/JASSIST-194
Project: Javassist
Issue Type: Enhancement
Affects Versions: 3.17.1-GA
Environment: n/a
Reporter: Pawel Veselov
Assignee: Shigeru Chiba
At this point, when javassist generates bytecode while compiling, the local variables are
added each time a new local variable is declared.
It, however, can add up to a lot of waste when variables have a short life. I would
imagine this can happen more in auto-generated source code.
It doesn't look easy, though, considering how compilation is done in one pass, and
there is no way to swap out load/store instructions after the method is completed...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira