[jdk17u-dev] RFR: 8313678: SymbolTable can leak Symbols during cleanup

Oli Gillespie ogillespie at openjdk.org
Mon Aug 21 08:35:30 UTC 2023


On Fri, 18 Aug 2023 16:31:51 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> Backporting fix for symbol table leak from https://bugs.openjdk.org/browse/JDK-8313678.
> 
> Not totally clean:
> 
> * places where 17 uses NULL versus nullptr in tip, trivial fix
> * symbolTable uses `Symbol**` in 17 instead of `Symbol*`, also easy fix
> * dictionary.cpp is not a concurrent hash table in 17 (missing 8292680), so no need to modify it
> * finalizerService, g1CardSet, DynamicSharedSymbols test don't exist in 17

I tested that the new test fails without the patch, and passes with it. Nothing else.

Here's the 21 backport https://github.com/openjdk/jdk21u/pull/73

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1674#issuecomment-1685891154


More information about the jdk-updates-dev mailing list