[hibernate-commits] [hibernate/hibernate-orm] feacc4: HHH-10279 - Memory usage improvements -

GitHub noreply at github.com
Thu Nov 12 07:52:14 EST 2015


  Branch: refs/heads/5.0
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: feacc4a3b0d1ebc46a90517a6ff9d772e1f4dfff
      https://github.com/hibernate/hibernate-orm/commit/feacc4a3b0d1ebc46a90517a6ff9d772e1f4dfff
  Author: Stuart Douglas <stuart.w.douglas at gmail.com>
  Date:   2015-11-12 (Thu, 12 Nov 2015)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
    M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
    M hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java
    M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
    M hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java

  Log Message:
  -----------
  HHH-10279 - Memory usage improvements -
* Don't allocate IdentityMap if it is not needed
* Only allocate unresolved insertions if requied
* Don't create a new string when creating a named query
* Allocate querySpaces lazily
* Remove executableLists from ActionQueue
* Allocate ExecutableList instances lazily
* Lazily allocate the transaction commit task lists
* Don't allocate a new EntityKey

(cherry picked from commit 991ff265dad6480ab2632d61964ae0c0c27b29b0)




More information about the hibernate-commits mailing list