OAK-2047: Missing privileges after repository upgrade
merged revision 1620585

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0@1620586 13f79535-47bb-0310-9956-ffa450edef68
OAK-2053: Excessive memory usage with Oracle Java 6

Merge revision 1620581 from trunk

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0@1620588 13f79535-47bb-0310-9956-ffa450edef68