Lowering Compilation Threshold in C2 for specific methods
ahmed.khawaja at oracle.com
Mon Mar 28 22:03:36 UTC 2016
Is there currently a way to change the compilation threshold on
a per method basis for C2? I am asking this question in the context of
intrinsics, since instead of adding interp/C1 support for an intrinsic,
there should be a way to just always use the C2 version of the method.
Methods like CRC32 that have interp, C1, and C2 hooks that always call
into the intrinsics if they are available, should have a mechanism for
only providing a C2 intrinsic and changing the threshold so that C2 code
is always used, seems like a much cleaner approach.
More information about the hotspot-compiler-dev