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

Reply via email to