-
Sub-task
-
Resolution: Unresolved
-
P4
-
None
-
riscv
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
( 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