On Fri, 3 Nov 2023 15:29:05 GMT, Jan Lahoda <jlah...@openjdk.org> wrote:

> Thanks for all the comments so far - I think I've either reflected them, or 
> wrote a comment to each of them. Please let me know if there's something 
> else, or if I've forgotten something.

You idea to use an extra array is clever. Using an immutable List instead of an 
array should allow the VM to constant fold the Class.isInstance (see above).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16489#issuecomment-1792698583

Reply via email to