RFR (S) 8215521: add microbenchmark to measure AccessController.getContext

eric.caspole at oracle.com eric.caspole at oracle.com
Thu Oct 3 21:54:07 UTC 2019


Oh thanks, I will fix it before pushing,
Eric


On 10/3/19 5:51 PM, Claes Redestad wrote:
> Hi Eric,
> 
> benchmarks looks good to me!
> 
> Nit: javadoc says "Benchmark measuring DoPrivileged", which doesn't look
> right.
> 
> /Claes
> 
> On 2019-10-03 23:27, eric.caspole at oracle.com wrote:
>> Hi everybody,
>> Could I get some reviews for JDK-8215521 to add a new JMH for 
>> AccessController.getContext() -- this was written by Dean after a bug 
>> from almost a year ago, then we forgot about it. I made the stack 
>> depth into a parameter.
>>
>> JBS:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8215521
>>
>> Webrev:
>>
>> http://cr.openjdk.java.net/~ecaspole/JDK-8215521/01/webrev/
>>
>> Thanks,
>> Eric


More information about the security-dev mailing list