On Tue, 3 Mar 2026 20:08:18 GMT, Andy Goryachev <[email protected]> wrote:

> `instanceof int` wow, what does bytecode look like? do you know if any 
> boxing/unboxing is involved?

`instanceof` is pretty cheap in general already; the bytecode for doing this 
with a primitive type is not going to do boxing but will likely be intrisified 
with a mask check or something.

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

PR Comment: https://git.openjdk.org/jfx/pull/2093#issuecomment-3993323389

Reply via email to