(Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread
peter.levart at gmail.com
Mon May 6 21:04:25 UTC 2013
On 04/30/2013 04:57 PM, Thomas Schatzl wrote:
> I implemented a nice way to reproduce an OOME in the reference
> handler. This involves implementing a custom
> java.lang.ref.ReferenceQueue and overriding the enqueue() method, and
> doing some allocation that causes an OOME within that method.
I don't think many people are doing that. Overriding package-private
system classes/methods and putting custom code in boot classloader can
break anything. I think that anyone messing with system code should
catch his own OOMEs.
More information about the core-libs-dev