Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8245459

Add support for complex filter value var handle adaptation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      It is sometimes necessary to apply a carrier transform on a VarHandle that is expressed in more than just a pair of unary function (e.g. from A->B and B->A). Sometimes the transform needs to act on some bit of external state.

      It would be nice if MemoryHandles::filterValue would be enhanced to accept all functions of the kind:

      (C... A) ->B
      (C... B) -> A

      So that the resulting VarHandle will apply carrier transform from A to B and will also add extra coordinate types (C...) which can be used by the transform filters.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: