Reduce memory churn when linking VarHandles operations

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      When a VarHandle is first linked to the call site the method MethodHandleNatives.varHandleOperationLinkerMethod is called.

      This method can be made a little more efficient, reducing the number of temporary method types created (interned and possible recuperated with a GC occurs) and guard method type can be created without any memory copy of the method type parameters.

            Assignee:
            Paul Sandoz
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: