@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Specialize
DeoptTest
. The purpose of these annotations is to test specialization and deoptimization
without the need of runtime compilation (which makes things a lot faster).
Use Specialize
on methods which call DeoptTest
methods. The arguments of the
calls must evaluate to constants and they define the specialization of arguments.
Note that there may not be more than one call from a Specialize
method to a
DeoptTest
method.