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

Strengthen Universe klasses asserts to catch bootstrapping errors earlier

XMLWordPrintable

    • master

      I am chasing a Shenandoah + CDS bootstrapping problem, where Shenandoah tries to insert the filler at the time when Universe is not yet initialized. It currently fails rather cryptically on attempt to store `null` class. We could really use an assert on accessing various Klass definitions in Universe.

      We already do this for TypeArrayKlass-es, so this change would cover fillerArrayKlass and objectArrayKlass.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: