RFR: 8278125: Some preallocated OOMEs are missing stack trace [v5]
Yi Yang
yyang at openjdk.java.net
Thu Dec 23 02:21:01 UTC 2021
On Thu, 23 Dec 2021 01:54:01 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Yi Yang has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - typo
>> - cleanup
>
> test/hotspot/jtreg/runtime/ErrorHandling/GenOutOfMemoryError.java line 41:
>
>> 39: try {
>> 40: System.out.format("bad method was invoked %n", n);
>> 41: Integer[] array = new Integer[1000 * 1000 * 100];
>
> Please add a comment:
>
> // Try to allocate an array the same size as the heap - it will throw OOME without
> // actually consuming available memory.
All done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6672
More information about the hotspot-runtime-dev
mailing list