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

[JVMCI] need support for aligned constants in generated code larger than 8 bytes

XMLWordPrintable

    • b22

      JDK-8287373 reduced the alignment of CodeBuffer::SECT_CONSTS from CodeEntryAlignment down to sizeof(jdouble). This is fine for C1 and C2 which presumably do not put larger constants in the constants section. However, Graal vectorization requires larger, aligned constants such as 32-byte vector masks. As a result, Graal code installation now fails with:

      Fatal error: jdk.vm.ci.common.JVMCIError: invalid data section alignment: 32 [constants alignment: 8]
      at 0x00007fca7d300757 in HotSpotCompiledCode stream

            bulasevich Boris Ulasevich
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: