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

recursiveFindType doesn't recognize volatile type qualifier

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • None
    • tbd
    • hotspot
    • None

    Description

      If we delete `declare_toplevel_type(HeapWord* volatile)` in `src/hotspot/share/gc/shared/vmStructs_gc.hpp`, `make CONF=debug images` will fail with sth like:

      ```
      assert(findType("HeapWord* volatile") != 0) failed: type "HeapWord* volatile" not found in type table
      ```

      The failure is due to `recursiveFindType` doesn't strip `volatile` type qualifier. (It supports `const` in contrast.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: