HHH-15693 An additional minor polish to the previously applied optimisation
This commit is contained in:
parent
e89063ae91
commit
44aa5288c7
|
@ -188,7 +188,7 @@ public abstract class AbstractServiceRegistryImpl
|
|||
//Fast-path for ClassLoaderService as it's extremely hot during bootstrap
|
||||
//(and after bootstrap service loading performance is less interesting as it's
|
||||
//ideally being cached by long term consumers)
|
||||
if ( ClassLoaderService.class.equals( serviceRole ) ) {
|
||||
if ( ClassLoaderService.class == serviceRole ) {
|
||||
if ( parent != null ) {
|
||||
return parent.getService( serviceRole );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue