[switch] Status of implementation of switch expression

Brian Goetz brian.goetz at oracle.com
Tue Feb 27 20:39:48 UTC 2018

Writing a JMH benchmark would be a fine place to start here. This will 
also be useful for testing improvements to the bootstrap -- currently 
the implementation is very basic, not optimized.

On 2/27/2018 3:37 PM, Remi Forax wrote:
>> If anyone wants to contribute, a place to start would be on the tests
>> for the indy bootstraps that we are targeting.  Bootstraps are in:
>> http://hg.openjdk.java.net/amber/amber/file/2b837643a2d4/src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
> Two students of mine have chosen to take a look to the String case to see if things can be improved.
> Is there some performance tests somewhere comparing the time with and without the bootstrap methods ?

More information about the amber-dev mailing list