[
https://issues.apache.org/jira/browse/VELOCITY-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-433.
-------------------------------------------
> Replace parser pool
> -------------------
>
> Key: VELOCITY-433
> URL: https://issues.apache.org/jira/browse/VELOCITY-433
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Reporter: Serge Knystautas
> Priority: Minor
> Fix For: 1.5
>
> Attachments: ParserPool.java, ParserPoolImpl.java, pool-parsers.txt
>
>
> You cannot configure a class that does parser pooling, which makes it hard to
> balance between the # of instances to pool and the amount of heap space
> you're committing to velocity.
> This patch refactors the parser pooling logic so that it behaves with a
> typical pool and parser factory concept. The existing pool implementation
> class is left untouched and is wrapped by the new default class that
> implements the new ParserPool interface.
> Behavior and benchmark appears consistent. Tried to format code correctly,
> but probably missed some spots. One patch file and 2 new java files. Will
> attach shortly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]