Skip to content

Performance improvements and code cleanup

Choose a tag to compare

@Sanne Sanne released this 07 Apr 15:09
· 108 commits to main since this release

While 0.2.0 was meant to simply work with Hibernate ORM 6 with minimal changes, this new release also includes some improvements.
Among others:

  • inline execution of cache maintainence, this has been shown to have a very dramatic impact on Quarkus benchmarks
  • avoid allocating objects only needed for trace logging
  • remove the need for the JVM to generate synthetic accessor bridges because of encapsulation rules
  • avoid pointless use of System.identityHashCode
  • avoid Long boxing - as the ORM 6 SPIs now allow better use of primitives for timestamps
  • avoid boxing because of lazy choice of functioal interfaces (removed the functional interfaces)