hibernate/hibernate-core — pull request #233 by Sanne (2011-11-30 22:00:31+00:00)
Title: HHH-6868 and other minor performance improvements

HHH-6868 Lazily initialize HashMap in LockOptions:

LockOptions is created very frequently, and this triggers an HashMap initialization which is expensive in terms of memory allocation/deallocation; this Map is used only when lock aliases are defined so I've converted it to be a lazy initialized.