[ 
https://issues.apache.org/jira/browse/PDFBOX-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-2095:
------------------------------------

    Affects Version/s: 1.8.6
                       1.8.5

> Useless memory allocation in GlyfDescript
> -----------------------------------------
>
>                 Key: PDFBOX-2095
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2095
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 1.8.5, 1.8.6, 2.0.0
>            Reporter: Petr Slaby
>            Assignee: Tilman Hausherr
>            Priority: Trivial
>             Fix For: 1.8.6, 2.0.0
>
>         Attachments: GlyfDescript.java.patch
>
>
> GlyfDescript#readInstructions() allocates an int array which is never used 
> (replaced by TTFDataStream#readUnsignedByteArray) on the following line. 
> While harmless, this still costs some memory and garbage collector time.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to