Quick look at JavaFX methods above the HotSpot inlining threshold
richard.bair at oracle.com
Tue Nov 4 00:27:21 UTC 2014
I’ve not seen any experiments or investigation along these lines, looking forward to what you find!
> On Nov 3, 2014, at 3:42 PM, Chris Newland <cnewland at chrisnewland.com> wrote:
> Hi all,
> 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.
>  https://github.com/AdoptOpenJDK/jitwatch
More information about the openjfx-dev