News for hackers. Stuff that matters.
Re:A Case for Properties: Programming Language Design by wging on Sunday November 15, 2020 @04:52PM (#25105268)
JVMs are quite smart about this sort of thing, and a nonfinal method can still be inlined, even though the JVM has to safely undo that optimization if a class is loaded. I'm not sure where I learned this originally, but Aleksey Shipilev has a post on method dispatch that should explain it. https://shipilev.net/blog/2015/black-magic-method-dispatch/

There are no comments on this comment yet.