Files
gerrit/gerrit-server/src/main/java/com/google/gerrit/server/account
Shawn Pearce 7569b30f60 Micro-optimize InternalGroupBackend.handles
UniversalGroupBackend passes every AccountGroup.UUID to every
GroupBackend.handles(), and InternalGroupBackend ran a regex
to see if it should respond for the UUID.

This method running a regex using String.matches(pattern) can
be the source of 1% of the garbage for a very busy Gerrit server
performing a lot of ACL evaluation.

As internal groups are SHA-1 hex shape (for reasons like this)
rely on JGit's optimized ObjectId.isId() to test the shape of
the UUID.

Change-Id: I13864886b447dbf81bafb793695367b5f0d15fb4
2016-06-19 14:00:08 -04:00
..
2016-05-06 17:04:47 +02:00
2016-05-02 20:46:54 +02:00
2016-05-02 20:46:54 +02:00
2015-12-16 16:19:57 -05:00
2016-05-02 20:46:54 +02:00
2016-05-02 20:46:54 +02:00
2016-05-10 12:56:33 -07:00
2016-06-14 14:33:51 +00:00
2016-05-02 20:46:54 +02:00
2016-05-06 17:04:47 +02:00
2016-05-06 17:04:47 +02:00