Repository: incubator-freemarker Updated Branches: refs/heads/2.3 0c69b1983 -> edefaa2f6
Version history additions Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/12616107 Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/12616107 Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/12616107 Branch: refs/heads/2.3 Commit: 12616107209fd8d898c25efff8b7d5192a9f3c4e Parents: 0c77097 Author: ddekany <ddek...@apache.org> Authored: Mon Mar 12 08:04:59 2018 +0100 Committer: ddekany <ddek...@apache.org> Committed: Mon Mar 12 08:04:59 2018 +0100 ---------------------------------------------------------------------- src/manual/en_US/book.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/12616107/src/manual/en_US/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml index 4b89a2f..3bd2562 100644 --- a/src/manual/en_US/book.xml +++ b/src/manual/en_US/book.xml @@ -27531,6 +27531,14 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting> </listitem> <listitem> + <para>Avoided possible performance bottleneck when executing + templates on many threads, caused be that + <literal>java.beans.PropertyDescriptor.getReadMethod()</literal> + is synchronized (<link + xlink:href="https://issues.apache.org/jira/browse/FREEMARKER-80">FREEMARKER-80</link>).</para> + </listitem> + + <listitem> <para>Added <literal>TemplateModelUtils.getKeyValuePairIterator(TemplateHashModelEx)</literal> static utility class, which can be used to get a @@ -27550,6 +27558,11 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting> it unwraps into a <literal>LinkedHashMap</literal> instead of into a plain <literal>HashMap</literal>.</para> </listitem> + + <listitem> + <para><literal>freemarker.ext.beans.HashAdapter.size()</literal> + was overridden for better performance.</para> + </listitem> </itemizedlist> </section> </section>