RFR: 8278125: Some preallocated OOMEs are missing stack trace

Yi Yang yyang at openjdk.java.net
Mon Dec 6 06:08:10 UTC 2021


On Sun, 5 Dec 2021 12:01:38 GMT, David Holmes <david.holmes at oracle.com> wrote:

> This isn't correct. This will only match with the "default" exception
> object that gets created and which is only used after the pre-allocated
> exceptions (which can still have their stacktrace set) have been used
> up. So the count would be off by up to PreallocatedOutOfMemoryErrorCount.

Yes, that's the reason why I try to identify these objects by checking their detail message string.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6672


More information about the hotspot-runtime-dev mailing list