Review request for JDK-8025435
aleksey.shipilev at oracle.com
Tue Sep 23 12:45:18 UTC 2014
On 09/23/2014 03:29 PM, Thomas Wuerthinger wrote:
Interesting how? Practical? Benchmarking harnesses deal with low-level
details, and so they need to be written in a lowest-level language
possible. When you are targeting JVM, that is either bytecode, or a very
trivial Java (I would not mind going straight to the compiler IR, but
the only common IR so far is Java bytecode).
This is what JMH is already doing. Now you can call whatever hosted
language from JMH @Benchmark. Scala, Kotlin, and Rhino/Nashorn already
have a successful track record of doing this.
More information about the nashorn-dev