(Preliminary) RFC 7038914: VM could throw uncaught OOME in ReferenceHandler thread

Peter Levart 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.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20130506/adf82b80/attachment.htm>


More information about the hotspot-gc-dev mailing list