MacroAssembler::call_VM(_leaf) doesn't consistently check for conflict with C calling convention.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • b03

      The MacroAssembler::call_VM_leaf methods don't include asserts to check if the passed arguments collide with the C calling convention registers consistently. Some versions omit them completely (e.g. aarch64 MacroAssembler::call_VM_leaf), other ones use regular asserts (where the assert_different_registers function should be used).
      We should consistently use assert_different_registers in all MacroAssembler::call_VM_leaf implementations.

            Assignee:
            Damon Fenacci
            Reporter:
            Damon Fenacci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: