JVMTI OOM handling when arrays / objects are too large
Tim Bell
Tim.Bell at Sun.COM
Fri Jun 5 16:31:00 PDT 2009
Hi Jeremy
> I was talking to some of the HS team at JavaOne, and they encouraged
> me to send some of the patches that we are working on at Google back
> to Sun. (Everyone at Google is covered under a blanket SCA, so we can
> contribute back anything done by any Googler).
>
> To get started and test the waters, and because I have never tried to
> contribute to OpenJDK before, I thought I would send on a
> nearly-trivial fix that I made last year in response to a user
> complaint. The issue was that when the user specifies
> -XX:OnOutOfMemoryError, and the OOM is thrown because a single memory
> allocation was too close to Integer.MAX_VALUE, the OnOutOfMemoryError
> command would not be executed. I've attached the patch. Let me know
> what I should do to proceed.
I created a bugzilla report for this issue:
https://bugs.openjdk.java.net/show_bug.cgi?id=100067
That way we won't lose it in a pile of email.
Tim
More information about the serviceability-dev
mailing list