[hibernate-commits] [hibernate/hibernate-validator] 2e712a: HV-1694 Reduce memory allocation for unconstrained...

Guillaume Smet noreply at github.com
Wed Feb 27 18:21:22 EST 2019


  Branch: refs/heads/6.0
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: 2e712a06740e2a29c26789f1cfbbca121ffbe17e
      https://github.com/hibernate/hibernate-validator/commit/2e712a06740e2a29c26789f1cfbbca121ffbe17e
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidationContext.java
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java

  Log Message:
  -----------
  HV-1694 Reduce memory allocation for unconstrained beans


  Commit: 6b1d1e49cae9110daa92bc41c673397131d43dab
      https://github.com/hibernate/hibernate-validator/commit/6b1d1e49cae9110daa92bc41c673397131d43dab
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java

  Log Message:
  -----------
  HV-1695 Avoid creating an empty map for group conversions


  Commit: 64b33ae1fbd44660b74919d0fa4f92707e72677b
      https://github.com/hibernate/hibernate-validator/commit/64b33ae1fbd44660b74919d0fa4f92707e72677b
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/metadata/BeanMetaDataManager.java

  Log Message:
  -----------
  HV-1696 Avoid using computeIfAbsent every time in BeanMetaDataManagerImpl

It significantly reduces memory allocation as it avoids the creation of
a lambda instance.


Compare: https://github.com/hibernate/hibernate-validator/compare/5124b2890c1c...64b33ae1fbd4


More information about the hibernate-commits mailing list