[jdk17] RFR: 8269232: assert(!is_jweak(handle)) failed: wrong method for detroying jweak
Severin Gehwolf
sgehwolf at openjdk.java.net
Tue Jun 29 09:11:05 UTC 2021
On Mon, 28 Jun 2021 20:41:35 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Don't let node->strongRef go below 0, or we end up thinking we still have a strongref when it is a weakref. Note the fact that we are doing nesting counts is still a bug (and the main cause of this issue). However, the fix for that is more complex, and for 17 I would prefer to just apply this simpler fix. For addressing the bigger issue, I filed the following:
>
> [JDK-8269542](https://bugs.openjdk.java.net/browse/JDK-8269542): JDWP: EnableCollection support is no longer spec compliant after [JDK-8255987](https://bugs.openjdk.java.net/browse/JDK-8255987)
I can no longer reproduce the crash with this patch. Thumbs up!
-------------
Marked as reviewed by sgehwolf (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/165
More information about the serviceability-dev
mailing list