[crac] RFR: Persist memory in-JVM

Radim Vansa rvansa at openjdk.org
Tue Sep 5 07:01:11 UTC 2023


On Mon, 4 Sep 2023 16:55:18 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

>> You're right, it is not a sufficient guarantee (though in practice it works well enough for the POC) - I've checked assembly and found that there were some accesses (though this is not related to red zone IMO). Ideally I would rewrite this into assembly (which is not too difficult but requires arch-specific code) - it's kind of guesswork to estimate how far the access could go.
>
> So, does it make sense to leave a few top pages still mapped to avoid the problem?

I still prefer the assembly solution; do you think that it would be a problem for the ntegration into mainstream?

-------------

PR Review Comment: https://git.openjdk.org/crac/pull/95#discussion_r1315453640


More information about the crac-dev mailing list