[jboss-jira] [JBoss JIRA] (JASSIST-194) Optimize local variables use

Pawel Veselov (JIRA) jira-events at lists.jboss.org
Thu Apr 4 03:22:43 EDT 2013


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


More information about the jboss-jira mailing list