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

Remove entry barriers for native wrappers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • 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

            fandreuzzi Francesco Andreuzzi
            fandreuzzi Francesco Andreuzzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: