[jdk21u-dev] Integrated: 8345173: BlockLocationPrinter::print_location misses a ResourceMark

Satyen Subramaniam ssubramaniam at openjdk.org
Wed Jul 9 21:59:39 UTC 2025


On Tue, 17 Jun 2025 17:35:10 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8345173: BlockLocationPrinter::print_location misses a ResourceMark. Since BlockLocationPrinter can be called at any point (e.g. the stop() method of MacroAssembler), it may currently fail with a "Missing ResourceMark error - possible memory leak" error instead of providing the stop() output (and then failing). Ran GHA Sanity Checks and local Tier 1 and 2. Patch is clean.

This pull request has now been integrated.

Changeset: 7b6ae460
Author:    Satyen Subramaniam <ssubramaniam at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/7b6ae4606188dd0fc32abf34b7076ad359764a1b
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8345173: BlockLocationPrinter::print_location misses a ResourceMark

Backport-of: f5ebda43709984214a25e23926860fea2ba5819a

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

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


More information about the jdk-updates-dev mailing list