RFR: 8324861: Exceptions::wrap_dynamic_exception() doesn't have ResourceMark

Leonid Mesnik lmesnik at openjdk.org
Tue Jan 30 23:59:04 UTC 2024


On Mon, 29 Jan 2024 18:34:02 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The issue is reproduced with 
> make -- run-test JTREG_VERBOSE=all JTREG_RETAIN=all  TEST=runtime/ConstantPool/TestMethodHandleConstant.java  TEST_VM_OPTS="-Xlog:all=trace:file=vm.%p.log"
> 
> verified that it doesn't crash anymore. Also, run tier1 for sanity testing.

@dholmes-ora, @coleenp Thank you for review. As I know, currently the caller should make ResourceMark when printing. (Probably to combine them for different logging functions?)

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

PR Comment: https://git.openjdk.org/jdk/pull/17620#issuecomment-1918110213


More information about the hotspot-dev mailing list