[jdk21u-dev] RFR: 8345173: BlockLocationPrinter::print_location misses a ResourceMark
Satyen Subramaniam
ssubramaniam at openjdk.org
Tue Jun 17 17:40:05 UTC 2025
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.
-------------
Commit messages:
- Backport f5ebda43709984214a25e23926860fea2ba5819a
Changes: https://git.openjdk.org/jdk21u-dev/pull/1896/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1896&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8345173
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1896.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1896/head:pull/1896
PR: https://git.openjdk.org/jdk21u-dev/pull/1896
More information about the jdk-updates-dev
mailing list