RFR (XS) 7901097: Blackhole methods should be non-inlined
Aleksey Shipilev
aleksey.shipilev at oracle.com
Thu Nov 13 15:50:32 UTC 2014
Hi,
On 11/13/2014 06:01 PM, Sergey Kuksenko wrote:
> I'd like to emphasize forth assumption/requirement:
> (c') there is a way to prohibit inlining of particular method
>
> If JVM doesn't satisfy (c') the we can do - to rely on (a) and pray that
> (b) is also working.
> I agreed with suggested idea to force Blackhole to be non-inlinable.
Good, thanks, I'll push shortly given no other comments.
> Conclusion, ability to choose Blackhole implementation from the
> following list may be useful:
> 1) non-inlineable full Blackhole (as the most defensive)
> 2) full Blackhole (where there is no way to do (c')
> 3) non-inlineable empty Blackwhole (where I know (c) & (c') are exist)
Okay. This would take a while to implement in performant way, but I
agree with the approach. Filed:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901098
Thanks,
-Aleksey.
More information about the jmh-dev
mailing list