[jdk21u-dev] RFR: 8332139: SymbolTableHash::Node allocations allocates twice the required memory

Satyen Subramaniam ssubramaniam at openjdk.org
Wed Apr 2 17:40:58 UTC 2025


Backporting JDK-8332139: SymbolTableHash::Node allocations allocates twice the required memory. Adjusting to use correct size for memory allocation and not depend on knowing implementation details. Adds assertion to confirm intended behavior.

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

Commit messages:
 - Backport 2c1da6c6fa2e50856ea71c0e266961171bee1037

Changes: https://git.openjdk.org/jdk21u-dev/pull/1576/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1576&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332139
  Stats: 22 lines in 4 files changed: 17 ins; 2 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1576.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1576/head:pull/1576

PR: https://git.openjdk.org/jdk21u-dev/pull/1576


More information about the jdk-updates-dev mailing list