JEP 411: Disable warning message with flag?
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 1 07:21:16 UTC 2021
On 31/05/2021 22:53, Chapman Flack wrote:
> :
> Thank you for that. One question I have been wondering about: do you have
> any internally-tracked metrics that you can share about how many uses
> of doPrivileged there are in the JDK codebase, and perhaps even a histogram
> of the stack depth from the doPrivileged down to the affected
> checked operation(s)?
The #usages of doPrivileged in the JDK is around 1200. The code is in
the openjdk/jdk repo so you can get other stats if you want. If you do
analysis to create a histogram on the number of frames walked when doing
privileged operations then it would be useful to share.
-Alan
More information about the security-dev
mailing list