RFR: 8312246: NPE when HSDB visits bad oop

Chris Plummer cjplummer at openjdk.org
Wed Jul 19 20:36:40 UTC 2023


On Tue, 18 Jul 2023 16:47:00 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:

> Hi!
> 
> This is a minor HSDB fix. It prints "bad oop" instead of throwing an NPE message to the console when a corrupted object is found.

Looks good. I tried out the test case before and after. I see the exception before and after I see "BAD OOP" in the stack memory dump as expected.

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

Marked as reviewed by cjplummer (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14922#pullrequestreview-1537978379


More information about the serviceability-dev mailing list