[jdk17u-dev] RFR: 8345173: BlockLocationPrinter::print_location misses a ResourceMark
Satyen Subramaniam
ssubramaniam at openjdk.org
Tue Jun 17 17:40:43 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/jdk17u-dev/pull/3665/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3665&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/jdk17u-dev/pull/3665.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3665/head:pull/3665
PR: https://git.openjdk.org/jdk17u-dev/pull/3665
More information about the jdk-updates-dev
mailing list