JEP Review Request: Improve Security Manager Performance

Florian Weimer fweimer at redhat.com
Wed Apr 30 15:16:09 UTC 2014


On 04/25/2014 04:54 PM, David M. Lloyd wrote:

> Relatedly, it would also be nice if there were some way to simplify or
> improve the JAAS Subject association mechanism, which also relies on the
> ACC, causing a substantial enough performance cost that (AFAICT) no
> major Java EE application server actually prefers this mechanism.

Hotspot is supposed to optimize this scenario eventually, eliding the 
allocation and inlining the code, as long as you use a lambda.  Maybe we 
won't get there during OpenJDK 9, but optimizing this by hand looks a 
lot like defeat to me.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the security-dev mailing list