Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-3130

Use --enable-compatible-cds-archive configure option for builds of JDK 17+ on aarch64

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • CompatibleCDS
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do

      On aarch64, the JVM can encounter two page sizes on Linux: 4k & 64k. The --enable-compatible-cds-archive option causes a compatible alignment to be used that works on both page sizes, but has a cost in archive size.

      From jdk-17.0.12+4 and jdk-21.0.4+4, this is enabled on aarch64 by default so this should be a no-op.

      See OPENJDK-3007 and https://bugs.openjdk.org/browse/JDK-8331942 for full details.

              rhn-engineering-ahughes Andrew Hughes
              rhn-engineering-ahughes Andrew Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: