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

Improve class initialization barrier in TemplateTable::_new for RISC-V

    XMLWordPrintable

Details

    • b08
    • riscv
    • linux

    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.

      This improvement should be applied to all platforms that support fast class initialization.

      Attachments

        Issue Links

          Activity

            People

              gcao Gui Cao
              gcao Gui Cao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: