RFR: JDK-8230744 Several classes throw OutOfMemoryError without message
Jim Laskey
james.laskey at oracle.com
Tue Jun 2 13:52:55 UTC 2020
Revised to reflect requested changes.
http://cr.openjdk.java.net/~jlaskey/8230744/webrev-01/index.html <http://cr.openjdk.java.net/~jlaskey/8230744/webrev-01/index.html>
> On Jun 1, 2020, at 5:40 PM, Martin Buchholz <martinrb at google.com> wrote:
>
> On Mon, Jun 1, 2020 at 1:37 PM Brent Christian
> <brent.christian at oracle.com> wrote:
>
>> "Unable to allocate buffer" seems vague in the context of an OOME. If
>> the problem is trying to create a too-large array, maybe something like,
>> "Buffer for \\Q...\\E sequence would exceed maximum array size".
>
> A generic message that does not necessarily expose the use of an
> internal array seems best, e.g.
>
> "... exceeds implementation limits"
More information about the core-libs-dev
mailing list