Review request for JDK-8011630 - JSON parsing performance issue
Marcus Lagergren
marcus.lagergren at oracle.com
Fri May 24 04:33:08 PDT 2013
+1. We really need to investigate this further as the creation of method handle getters and setters has so huge overhead. It should be ultra lazy.
/M
On May 24, 2013, at 1:15 PM, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:
> Please review JDK-8011630 - JSON parsing performance issue
>
> http://cr.openjdk.java.net/~hannesw/8011630/
>
> This adds new methods in Property and FindProperty to get and set values for spill and user accessor properties without creating a method handle.
>
> This reduces parsing time of the huge JSON file from about one minute to 15 seconds. Most of the remaining overhead seems to be in PropertyMap.addProperty().
>
> Hannes
More information about the nashorn-dev
mailing list