[midPoint-git] [Evolveum/midpoint] f8e8d6: Reduce object cloning

mederly noreply at github.com
Fri Apr 28 12:37:01 CEST 2023


  Branch: refs/heads/tmp/perf-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: f8e8d6b19568cff924699d6bee8a2a85577bd9fc
      https://github.com/Evolveum/midpoint/commit/f8e8d6b19568cff924699d6bee8a2a85577bd9fc
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowGetOperation.java

  Log Message:
  -----------
  Reduce object cloning

1. SUCCESS fetch result is no longer recorded into objects returned by
provisioning.getObject operation. (This involved cloning of immutable
objects.)

2. Reference values to be put into roleMembershipRef are no longer
cloned "in full", as it embraced cloning of the embedded object. Simpler
copy operation is invoked instead.

3. "Mark resource up" in resource manager is invoked after successful
get operation only if the resource was previously not marked as "up".
The resource manager checks the current status in not quite optimal way
now, so it's better to avoid that invocation if possible.




More information about the midPoint-svn mailing list