On 08/05/2016 11:22 PM, Claes Redestad wrote:
> On 08/05/2016 12:56 PM, Aleksey Shipilev wrote:
>> I wouldn't mind to have a comment at @ForceInline line mentioning this
>> is for Reflection.getCallerClass() optimization. But, it might be
>> recoverable from the source control anyway.
> 
> Sure, how about:
> 
> @ForceInline // to ensure Reflection.getCallerClass optimization
> 
> http://cr.openjdk.java.net/~redestad/8161379/jdk.02/

+1

-Aleksey


Reply via email to