Integrated: 8316669: ImmutableOopMapSet destructor not called

Thomas Schatzl tschatzl at openjdk.org
Mon Sep 25 06:41:30 UTC 2023


On Thu, 21 Sep 2023 12:52:33 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 3d6e775d
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3d6e775d7135919519a9748036cd20b6c130bb42
Stats:     11 lines in 3 files changed: 8 ins; 1 del; 2 mod

8316669: ImmutableOopMapSet destructor not called

Reviewed-by: thartmann, jvernee, kvn

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

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


More information about the hotspot-compiler-dev mailing list