[jdk11u-dev] RFR: 8267396: Avoid recording "pc" in unhandled oops detector for better performance

Aleksey Shipilev shade at openjdk.java.net
Mon Jul 5 10:03:51 UTC 2021


On Fri, 25 Jun 2021 12:39:15 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This improves the performance under `-XX:+CheckUnhandledOops`. Backport is unclean, because `Thread::is_in_stack` was renamed to `Thread::is_in_live_stack` by [JDK-8238988](https://bugs.openjdk.java.net/browse/JDK-8238988).
> 
> Additional testing:
>  - [x] `tier1` with `-XX:+CheckUnhandledOops`

Now that JDK-8227766 is in, `tier1` passes well.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/71


More information about the jdk-updates-dev mailing list