Quick look at JavaFX methods above the HotSpot inlining threshold
cnewland at chrisnewland.com
Mon Nov 3 23:42:53 UTC 2014
As part of the JITWatch project I've written a tool called JarScan
which counts the bytecode size of methods in a jar and logs those methods
which are above HotSpot's 325 byte size threshold for inlining methods it
determines are "hot".
In jfxrt.jar from Oracle's JDK 1.8.0_25 on Linux x86_64 there are 774
methods above the threshold which I've listed in this gist:
A lot of these won't be found in hot code but perhaps the methods under
com.sun.javafx.geom and javafx.scene.transform could be candidates for
examination with JIT compilation in mind?
Has anybody on the list done any experiments in this area? If not I'll try
and find some time to see if there are any gains to be made by trimming
methods (in the OpenJFX source) to fit inside the inlining threshold.
More information about the openjfx-dev