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

Support fast class initialization checks for static field accesses in template interpreter

    XMLWordPrintable

Details

    Description

      Template interpreter implements class initialization barriers for putstatic/getstatic instructions by deferring instruction resolution until corresponding field holder class is fully initialized. It results in repeated re-resolution calls into interpreter runtime during <clinit> execution and may noticeably slow down application startup.

      Instead, a fast class initialization check in template interpreter generated code for putstatic/getstatic instructions would do the job in a much more performant way.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: