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

The fixup_module_list must be protected by Module_lock when inserting new entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: