Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1951

Eliminate TransactionContext.executeModification()

    XMLWordPrintable

Details

    Description

      Refactor done in CONTROLLER-1950 makes it obvious that the internal interface between local, noop and remote contexts is needlessly allocating AbstractModifications.

      Without the refactor, this actually hurts, because we are performing two allocations, which actually may not be properly escape-analyzed.

      After the refactor the allocation short-lived, so can be inferred out in local case dominance – but it also means TransactionProxy knows about remoting objects. It clearly should not, as those objects should be allocated only in RemoteTransactionContext.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: