Undefined Behaviour in x86 class Assembler

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 8, 11, 17, 18, 19, 20
    • Component/s: hotspot
    • b09
    • x86
    • generic

      All instances of type Register exhibit UB in the form of wild pointer (including null pointer) dereferences. This isn't very hard to fix: we should make Registers pointers to something rather than aliases of small integers.

      JDK-8276563 fixed this for Aarch64 while this bug should fix it for x86.

            Assignee:
            Andrew Haley
            Reporter:
            Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: