Remove entry barriers for native wrappers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: hotspot

      As suggested by [~dlong] in JDK-8369219, we may consider removing entry barriers for native wrappers. Native wrappers are generally immortal, unless the method is targeted by JNI::RegisterNatives, in which case it becomes not-entrant.

      Removal of entry barriers could result in some performance gains, to be quantified as part of this ticket.

      More details here: https://github.com/openjdk/jdk/pull/27742#discussion_r2434399527

            Assignee:
            Francesco Andreuzzi
            Reporter:
            Francesco Andreuzzi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: