[jdk17] Integrated: 8269232: assert(!is_jweak(handle)) failed: wrong method for detroying jweak

Chris Plummer cjplummer at openjdk.java.net
Tue Jun 29 18:45:01 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)

This pull request has now been integrated.

Changeset: 401cb0ad
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/401cb0ad5517f5962061c7155354380a4c342ddf
Stats:     9 lines in 2 files changed: 6 ins; 0 del; 3 mod

8269232: assert(!is_jweak(handle)) failed: wrong method for detroying jweak

Reviewed-by: rkennke, amenkov, sspitsyn, sgehwolf

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

PR: https://git.openjdk.java.net/jdk17/pull/165


More information about the serviceability-dev mailing list