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.

Hi Thomas,

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.

Regards, Peter

Reply via email to