3 ms·
> The compiler can do nearly nothing, Optimizing JIT-compiling JVMs are often able to optimize virtual calls that only ever resolve to one implementation. They
by MaxBarraclough 5y ago
> The compiler can do nearly nothing,
Optimizing JIT-compiling JVMs are often able to optimize virtual calls that only ever resolve to one implementation. They may even inline such calls. (edit dzaima got there first.)
- duped 5y agoIt's old too, Self was doing this in the late 80s
- scns 5y agoIt was written by the same people: The Java HotSpot Performance Engine was released on April 27, 1999, built on technologies from an implementation of the programming language Smalltalk named Strongtalk, originally developed by Longview Technologies, which traded as Animorphic. The Longview virtual machine was based on the Self virtual machine, with an interpreter replacing the fast-and-dumb first compiler. When Sun cancelled the Self project, two key people, Urs Hölzle and Lars Bak left Sun to start Longview. In 1997, Sun Microsystems purchased Animorphic. Source: wikipedia