RFR: 8259886 : Improve SSL session cache performance and scalability

Erik Joelsson erikj at openjdk.java.net
Mon Feb 1 18:34:53 UTC 2021


On Mon, 1 Feb 2021 18:30:14 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> I'm trying to benchmark a class that is in a non-exported package `sun.security.util`. Without this line the benchmark doesn't compile. I couldn't find any other benchmarks that access non-exported classes, so I came up with my own implementation. 
>> 
>> Is there a better way to get the benchmark to compile?
>
> Adding "--add-exports java.base/sun.security.util=ALL-UNNAMED" is fine, I'm asking about "$(JAVAC_FLAGS)".

Hm, maybe you just misunderstand how this makefile construct works. If you just want to add "--add-exports java.base/sun.security.util=ALL-UNNAMED", then that's all you should put in this assignment.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2255



More information about the security-dev mailing list