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

NPG: init_dependencies in class loader data graph can cause invalid CLD

    Details

    • Subcomponent:
    • Resolved In Build:
      b31

      Backports

        Description


        In the ClassLoaderDataGraph::add() function, if init_dependencies gets an OutOfMemoryError, it will leave an invalid ClassLoaderData object on the graph and installed in the class loader oop. If a dependency is added to this object, it will crash.

        Thanks to David Holmes for discovering this through code inspection.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgerdin Mikael Gerdin (Inactive)
                  Reporter:
                  coleenp Coleen Phillimore
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: