RFR: 8358330: AsmRemarks and DbgStrings clear() method may not get called before their destructor [v2]

Vladimir Kozlov kvn at openjdk.org
Wed Jun 4 13:53:54 UTC 2025


On Tue, 3 Jun 2025 15:36:22 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

>> This patch fixes a possible assert in debug builds if the allocation of memory for a CodeBlob fails when loading it from the AOT Code Cache. See description of [JDK-8358330](https://bugs.openjdk.org/browse/JDK-8358330) for more details.
>
> Ashutosh Mehra has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8358330
>  - Address review comments
>    
>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>  - 8358330: AsmRemarks and DbgStrings clear() method may not get called before their destructor
>    
>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

My testing passed.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25598#pullrequestreview-2896826999


More information about the hotspot-compiler-dev mailing list