[midPoint-git] [Evolveum/midpoint] b16151: Improve performance of MapXNodeImpl

mederly noreply at github.com
Tue Jan 7 16:48:27 UTC 2020


  Branch: refs/heads/feature/resource-manager-thread-safety
  Home:   https://github.com/Evolveum/midpoint
  Commit: b16151da95d74528f2cbc3153351297d8ffd897a
      https://github.com/Evolveum/midpoint/commit/b16151da95d74528f2cbc3153351297d8ffd897a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ExpressionUtil.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/polystring/PolyString.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/MapXNode.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/HacksImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalProcessor.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/json/AbstractJsonLexicalProcessor.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/BeanMarshaller.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/BeanUnmarshaller.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/util/PrismUtilInternal.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/MapXNodeImpl.java
    M infra/prism-impl/src/test/resources/common/xml/account-barbossa.xml
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ValueDisplayUtil.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/performance/AbstractSchemaPerformanceTest.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/QNameUtil.java

  Log Message:
  -----------
  Improve performance of MapXNodeImpl

- Replaced List<Entry> by LinkedHashMap, in a way similar to how
  PrismContainerValueImpl is implemented.
- Removed support for the whole Map interface, making the code simpler
  and more efficient.


  Commit: 269e003d439c634c907a2a83c125431a178711e4
      https://github.com/Evolveum/midpoint/commit/269e003d439c634c907a2a83c125431a178711e4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xnode/XNode.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/ListXNodeImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/MapXNodeImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/PrimitiveXNodeImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/RootXNodeImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/XNodeImpl.java

  Log Message:
  -----------
  Do minor code cleanup (cosmetics)


Compare: https://github.com/Evolveum/midpoint/compare/6b2dab1ba5e6...269e003d439c


More information about the midPoint-svn mailing list