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

UnregisteredClassesTable_lock never created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • b18

      https://github.com/openjdk/jdk/pull/13143 discovered that UnregisteredClassesTable_lock is never created in mutex_init() and is always nullptr. This lock is referenced in a few places and all of those are effectively thread unsafe. The lock should be removed if not needed or actually created.

            matsaave Matias Saavedra Silva
            jcking Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: