RFR: 8268078: ClassListParser::_interfaces should be freed

Calvin Cheung ccheung at openjdk.java.net
Tue Jun 15 20:37:10 UTC 2021


This patch frees the `_interfaces`, `_indy_items`, and `_id2klass_table` of `ClassListParser` in its destructor.
It also fixes the non-NULL check at line 88.

- [x] mach5 tiers 1, 2 tests

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

Commit messages:
 - 8268078: ClassListParser::_interfaces should be freed

Changes: https://git.openjdk.java.net/jdk/pull/4498/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4498&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268078
  Stats: 19 lines in 2 files changed: 18 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4498.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4498/head:pull/4498

PR: https://git.openjdk.java.net/jdk/pull/4498


More information about the hotspot-runtime-dev mailing list