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

Incorrect tmp register passed to MacroAssembler::load_mirror()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • None
    • b15

        On x86, MacroAssembler::load_mirror() defaults to using rscratch2 as tmp register, unless something else is specified. In TemplateInterpreterGenerator::generate_native_entry() we call load_mirror(), but the rscratch2 register is already in use in this context, which obviously leads to problems. This is not a performance critical path, so we should just pass noreg as the tmp register.

              pliden Per Liden (Inactive)
              pliden Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: