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.

        Activity

        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/c98fb7301cfa
        User: aph
        Date: 2016-04-26 15:35:03 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/c98fb7301cfa User: aph Date: 2016-04-26 15:35:03 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/c98fb7301cfa
        User: lana
        Date: 2016-05-25 17:36:48 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/c98fb7301cfa User: lana Date: 2016-05-25 17:36:48 +0000

          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: