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

Claes Redestad claes.redestad at oracle.com
Thu Oct 3 21:51:06 UTC 2019


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