myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (Created) (JIRA) <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3477) [perf] Review amount of byte [] arrays created during state saving
Date Fri, 24 Feb 2012 20:51:52 GMT
[perf] Review amount of byte []  arrays created during state saving
-------------------------------------------------------------------

                 Key: MYFACES-3477
                 URL: https://issues.apache.org/jira/browse/MYFACES-3477
             Project: MyFaces Core
          Issue Type: Improvement
            Reporter: Martin Kočí
            Priority: Trivial


instances of byte [] are created in:
1) org.apache.myfaces.shared.util.StateUtils.getAsByteArray(Object, ExternalContext)
2) org.apache.myfaces.shared.util.serial.DefaultSerialFactory.getObjectOutputStream
3) writer.writeObject(object); in org.apache.myfaces.shared.util.StateUtils.getAsByteArray
4) org.apache.myfaces.shared.util.StateUtils.encode(byte[])
5) org.apache.myfaces.shared.util.serial.DefaultSerialFactory.getObjectInputStream(InputStream)
6) org.apache.myfaces.shared.util.StateUtils.reconstruct(String, ExternalContext)

those allocations are not performance problem; only in cumulative time are those methods #1
source of byte [] in myfaces - maybe can be some of them removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message