On Mon, 13 Mar 2023 23:46:58 GMT, ExE Boss <d...@openjdk.org> wrote: > Arguably, the `instanceof DynamicConstantDesc` check should go first, as > there can be only one superclass, but multiple implemented interfaces.
I think this ordering is rather ranked by their relative frequency in bytecode. Having integer constants to undergo `instanceof DynamicConstantDesc` checks would be less efficient. ------------- PR: https://git.openjdk.org/jdk/pull/12996