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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • 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.

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

              Created:
              Updated:
              Resolved: