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

Performance regression in reflective invocation of native methods

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10
      i7 14700k

      A DESCRIPTION OF THE PROBLEM :
      The performance of cloneMethod.invoke is 1000% slower in JDK 21 relative to JDK 11.

      REGRESSION : Last worked in version 11.0.25

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JDK 21 should have the same or better performance over JDK 11.
      ACTUAL -
      JDK 21 is 10 times slower than JDK 11.

      ---------- BEGIN SOURCE ----------
      See comment below for source code
      ---------- END SOURCE ----------

      FREQUENCY : always


            liach Chen Liang
            webbuggrp Webbug Group
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: