openjdk 20 crash on linux kernel 5.19, because it can not support huge VM?
Vladimir Kempik
vladimir.kempik at gmail.com
Wed Nov 23 08:33:00 UTC 2022
Hello
A kind of workaround for this case
disable sv57 csr and rebuild qemu - https://github.com/qemu/qemu/blob/master/target/riscv/csr.c#L1027 put 0 here
Regards, Vladimir
> 23 нояб. 2022 г., в 04:08, Zixian Cai <zixian.cai at anu.edu.au> написал(а):
>
> This has been discussed in a previous thread. https://mail.openjdk.org/pipermail/riscv-port-dev/2022-September/000636.html
>
> I agree that it would be nice to support different modes. Although with the patches in QEMU/Kernel that can restrict the OS to run with sv39/sv48 only, and the fact that there are not enough real hardware board supporting above sv48, I don’t know whether there will be sufficient motivation to fix the problem in the short term.
>
> Also worth noting until very recently (Intel implemented 5-level paging around the release of Ice Lake), x86_64 has been staying 48 bits a for long time.
>
> Sincerely,
> Zixian
>
> On 23/11/2022, 11:58, "riscv-port-dev" <riscv-port-dev-retn at openjdk.org> wrote:
>
>
> hi,
> openjdk 20 crash on linux kernel 5.19, because it can not support huge VM?
>
> but I think openjdk as a application, it should not has any limitation on virtual address length,
>
> even if it has very close relationship with hardware, just as qemu should not depend on hardware VM size, it's none of business for an application, because all other apps can run very well.
>
> when will it support the newest kernel and qemu?
>
> https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/pILY0WGHhOs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/riscv-port-dev/attachments/20221123/4015c9c4/attachment-0001.htm>
More information about the riscv-port-dev
mailing list