1. A computer program product for optimizing access to resources for objects in a datasharing environment, the datasharing environment comprising a plurality of members, the computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the program code executable by at least one computing processor to: create a plurality of exception lists by the plurality of members, each of the plurality of exception lists comprising a plurality of objects accessed by currently active transactions that run longer than other transactions running against other objects such that the currently active transactions degrade performances of the other transactions, each of the plurality of objects being associated with an object identifier and an earliest access time value; create a global exception list by merging the plurality of exception lists from the plurality of members; in response to a request for a lock for a given object associated with a given object identifier, reference the global exception list to determine whether the given object identifier is in the global exception list; if the given object identifier is in the global exception list, determine a given earliest access time associated with the given object identifier and use the given earliest access time to determine whether to grant the request for the lock to optimize an acquiring and releasing of locks between the currently active transactions and the other transactions; if the given object identifier is not in the global exception list, select a most recent access time value from the global exception list and use the most recent access time value to determine whether to grant the request for the lock to optimize the acquiring and releasing of locks between the currently active transactions and the other transactions.