emmanuelbernard/hibernate-core-ogm — comment on commit 14a8d446a3a1a6397aee08c6adf7468ac71a9510
File: hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java line 260
By emmanuelbernard:

caching `InstrumentationService` here won't help as `EntityEntry` is a short lived object (`Session` lifespan). We would need to cache the service from the `EntityEntry` constructor methods.