RFR: 8161379: Force inline methods calling Reflection.getCallerClass

Claes Redestad claes.redestad at oracle.com
Fri Aug 5 22:00:29 UTC 2016


Up to 12-15x on some reflection micros, but it varies wildly. This change does not improve the best case performance, but rather eliminates a cause for degradation and high run to run variance.


Mandy Chung <mandy.chung at oracle.com> skrev: (5 augusti 2016 14:55:59 GMT-07:00)
>> On Aug 5, 2016, at 1:22 PM, Claes Redestad
><claes.redestad at oracle.com> wrote:
>> http://cr.openjdk.java.net/~redestad/8161379/jdk.02/
>Looks fine.
>How much improvement do you see from the benchmark run with this patch?

Sent from my Android device with K-9 Mail. Please excuse my brevity.

More information about the core-libs-dev mailing list