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

[lworld] Class preloading code cannot support speculative class loads nor concurrent class loads

XMLWordPrintable

      The current way classes are pre-loaded during a class loading phase suffers from two issues:
        - it cannot be extended to support speculative loadings (triggered by JEP 401 Preload attribute)
        - it doesn't support concurrent class loadings when pre-loading classes while checking for circularity issue

      The existing loading code used to load super-types, which requires check for circularity too, could be slightly modified to become less super-types specific and usable for both super-types and speculative loadings.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: