Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360026 RISC-V: support leyden
  3. JDK-8360125

RISC-V: aot bring performance regression when without -XX:AOTCache=xxx

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      JDK on riscv with aot brings performance regression if aot-cache is not supplied when running the program, i.e. without -XX:AOTCache=xxx.
      ( perf data: 0.201365097 vs 0.593308583 )

      This issue does not exist on x86.

      $ java -cp $CLASS_PATH -Xlog:aot,cds Hello
      [0.015s][info][cds] trying to map /home/rivos/hamlin/test/jdk-master/lib/server/classes.jsa
      [0.015s][info][cds] Specified shared archive file not found (/home/rivos/hamlin/test/jdk-master/lib/server/classes.jsa)
      [0.015s][info][cds] An error has occurred while processing the shared archive file. Run with -Xlog:aot,cds for details.
      [0.015s][info][cds] Loading static archive failed.
      [0.015s][info][cds] Unable to map shared spaces
      Hello

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: