News for hackers. Stuff that matters.
Re:JITs are un-ergonomic by vbezhenar on Sunday March 29, 2020 @11:34AM (#22719809)
You can redefine Math.round. It's an ordinary method from rt.jar. You can change rt.jar or you can redefine it with java agent.

Not as straightforward as with JS, but Java JIT still have to account for those things.

May be it will assume some things about standard classes for optimization, but for user classes that will be true anyway.

Re:JITs are un-ergonomic by ridiculous_fish on Tuesday March 31, 2020 @10:15PM (#22744951)
You can really redefine an existing Java method at runtime? Well TIL!