by virtualwhys · 10y ago · 0 comments
What's the status on performance slowdown wrt to relying on Java 8 default methods in 2.12[1]? Hopefully this is not a JVM limitation[2] and can be sorted out during the RC cycle.
Fewer generated class files and improved performance would very much be a nice-to-have.
[1] http://www.scala-lang.org/blog/2016/07/08/trait-method-perfo...
Regardless, there's a significant performance regression to sort out prior to the 2.12 GA. If it is a JVM limitation it won't be solved until at least Java 9 (according to the fix version listed in the bug report), which will mean 2.12 loses one of the stated goals of the release: reduction in number of generated class files (with perhaps slightly faster build times).
Anyway, we'll see in the coming weeks/months if a resolution or workaround manifests.