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

AArch64: Relax alignment requirement for byte_map_base

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b120
    • CPU:
      aarch64

      Description

      AArch64 expects the card table base to be page aligned, and asserts that. Unfortunately (because asserts are compiled out in release code) if this assumption is ever violated in production code we won't see it. Instead, we will see mysterious segfaults.

      We have seen this fail in OpenJDK 7.

      It makes more sense to allow the base to be unaligned.

        Attachments

          Activity

            People

            • Assignee:
              aph Andrew Haley
              Reporter:
              aph Andrew Haley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: