The fixup_module_list must be protected by Module_lock when inserting new entries

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b139

      In java_lang_Class::create_mirror(), prior to java.base being defined, all class' mirrors are put onto the fixup_module_list. This allows their module fields to later be patched once java.base is defined to the VM and its java.lang.reflect.Module is known.

      Since java_lang_Class::create_mirror() is multi-threaded during startup, the insertion of mirrors into the fixup_module_list must be protected by Module_lock.

            Assignee:
            Lois Foltan
            Reporter:
            Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: