RFR: 8316669: ImmutableOopMapSet destructor not called

Thomas Schatzl tschatzl at openjdk.org
Thu Sep 21 16:02:09 UTC 2023


Hi all,

  please review this addition to call the destructor of `ImmutableOopMapSet` before its memory is deleted. There is no functional problem as the destructor is empty, but it is surprising to free new'ed objects without calling its destructor.

Testing: gha

Thanks,
  Thomas

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

Commit messages:
 - 8316669 immutableoopmapset not called

Changes: https://git.openjdk.org/jdk/pull/15862/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15862&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316669
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15862.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15862/head:pull/15862

PR: https://git.openjdk.org/jdk/pull/15862


More information about the hotspot-compiler-dev mailing list