BasicType and BasicTypeSize should refer to HotSpot values

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: None
    • Component/s: hotspot
    • b36

      http://mail.openjdk.java.net/pipermail/serviceability-dev/2017-October/021965.html

      Enum values in BasicType and BasicTypeSize are declared as const values. However, it makes error prone when existing enum values change.
      They should refer to HotSpot values via VMStructs.

      I attach suggested fix to this ticket.
      This patch works fine on hotspot/jtreg/serviceability/sa jtreg tests.

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: