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:24:46 GMT, djelinski <github.com+30433125+djelinski at openjdk.org> wrote:
>> make/test/BuildMicrobenchmark.gmk line 97:
>>
>>> 95: SRC := $(MICROBENCHMARK_SRC), \
>>> 96: BIN := $(MICROBENCHMARK_CLASSES), \
>>> 97: JAVAC_FLAGS := $(JAVAC_FLAGS) --add-exports java.base/sun.security.util=ALL-UNNAMED, \
>>
>> Why do you need to add $(JAVAC_FLAGS) here?
>
> 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)".
-------------
PR: https://git.openjdk.java.net/jdk/pull/2255
More information about the security-dev
mailing list