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

Improve class initialization barrier in TemplateTable::_new

    XMLWordPrintable

Details

    • b04

    Description

      The class initialization barrier in TemplateTable::_new fast path check ensures that the class being instantiated is fully initialized. It can be improved by introducing additional fast path check when current thread is initializer thread as MacroAssembler::clinit_barrier() does. It avoids repeated calls into interpreter runtime for classes being initialized.

      Attachments

        Issue Links

          Activity

            People

              matsaave Matias Saavedra Silva
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: