RFR: 8323807: Async UL: Add a stalling mode to async UL
Johan Sjölen
jsjolen at openjdk.org
Wed Dec 18 08:37:40 UTC 2024
On Wed, 18 Dec 2024 02:35:09 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > I was considering whether we should vm_exit_out_of_memory if that occurs.
>
> I prefer not to have secondary functionality, like logging, abort the VM. If malloc fails no doubt we will soon have an issue in primary functionality, but we will deal with that then.
Sounds like you think the preferred way to go is to just ignore the stalled message on OOM and continue on until something else in the system fails? Fine by me.
> > Is there something in particular you had in mind?
>
> Just running some small app with e.g. -Xlog:all=trace and checking that the different modes seem to cope okay with what they encounter.
I believe that that is what I did with my Spring Boot experiment :-).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22770#issuecomment-2550686198
More information about the hotspot-runtime-dev
mailing list