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

Remove C2 trivial call intrinsification support

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      Currently there is no way to create a downcall method handle without a thread state transition (a trivial call).

      Ahead of the finalization of the API, we should streamline the implementation code and remove the C2 support for handling trivial native calls.

      Later, if needed, it can be re-added, but currently it is not clear if trivial calls should be exposed through the API, since they are a bit of a foot-gun. JDK internal use could be okay, be we currently have no such cases. (either way, a bridge to cross somewhere in the future).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvernee Jorn Vernee
              Reporter:
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: