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

recursiveFindType doesn't recognize volatile type qualifier

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • None

      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.)

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

              Created:
              Updated: