On 16.03.2016 11:28, Hannes Wallnöfer wrote:
Hi Jochen,

we recently had a report on nashorn-dev that could be related. A user is
re-evaluating the same or similar code again and seeing more than 20x
slowdown compared to the fist evaluation.

http://mail.openjdk.java.net/pipermail/nashorn-dev/2016-March/006024.html

The thing is that he is using fresh ScriptEngines for the second
evaluation, so the Nashorn engines should not share anything. As with
your case, Jvisualvm shows that 80% of time is spent in
java.lang.invoke.MethodHandleNatives.setCallSiteTargetNormal().

ok, thanks, good to know there are at least potential issues around (be it JVM or wrong use through the language)

bye Jochen

--
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/jvm-languages.
For more options, visit https://groups.google.com/d/optout.

Reply via email to