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

Startup regression in 17-b13 due increase in adapter lookups

    XMLWordPrintable

Details

    • b13

    Description

      JDK-8263002 cause a small (~2-3ms) startup regression due an increase in AdapterHandlerLibrary::get_adapter calls.

      Prior to JDK-8263002 adapters needed by each method was archived in CDS, eagerly generated on bootstrap and passed to each link_method. Now they are looked up and generated by Method::link_method. Caching adapters for methods loaded from CDS should be enough to recuperate the regression.

      The lazy adapter generation property could be beneficial if there are many more adapters generated than needed at runtime, but this does not seem to be the case.

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: