This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: AccessController speedup
- From: Tom Tromey <tromey at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 14 Aug 2006 16:18:16 -0600
- Subject: Re: FYI: AccessController speedup
- References: <20060814142608.GA10501@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
Gary> This commit changes VMAccessController to use an instance
Gary> variable in Thread to store its state. On my Tomcat benchmark
Gary> this improves performace from 2400 to 2700 requests per second.
Wow. If shaving cycles here helps... maybe on supported platforms we
should be using real TLS? Search for HAVE_TLS in natClass.cc to see
how we're already using it.
But maybe it is just avoiding the gratuitous overhead of ThreadLocal
that is a win.
Tom