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

Wrong assumption in assertion in oop::register_oop

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      arm
    • OS:
      generic

      Description

      (issue reported by christoph.goettschkes@microdoc.com)

      oop::register_oop() is only used in fastdebug builds for the CheckUnhandledOops feature. The assert requires the PC of the current frame to be non-zero. In 32-bit ARM, this is only true if the VM is not compiled in thumb mode. In thumb mode, os::current_frame() always returns a default frame, in which the PC (and every other field) is zero.

        Attachments

          Activity

            People

            • Assignee:
              bulasevich Boris Ulasevich
              Reporter:
              bulasevich Boris Ulasevich
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: