(Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread (original) (raw)
Vitaly Davidovich vitalyd at gmail.com
Sat May 4 17:38:21 UTC 2013
- Previous message: (Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread
- Next message: (Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oops, that was my mistake - I thought the lock here was a j.u.c.Lock which of course doesn't even make sense given we're talking about ObjectMonitor. So disregard that bit.
Ignoring OOM and continuing just seems very fragile as it means you somehow know that all state is still consistent. Most java code isn't async exception safe, so it's hard to reason about state after OOM. Maybe Reference Handler is OK in that regard though.
Cheers
Thanks
Sent from my phone
- Previous message: (Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread
- Next message: (Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]