RFR: 8307315: Missing ResourceMark in CDS and JVMTI code

Coleen Phillimore coleenp at openjdk.org
Mon May 15 17:34:43 UTC 2023


On Mon, 15 May 2023 15:53:16 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this simple fix for adding a missing `ResourceMark` in `KlassFactory::check_shared_class_file_load_hook` which is a common caller of `FileMapInfo::open_stream_for_jvmti` and `JvmtiClassFileLoadHookPoster::post_to_env `(indirectly via `JvmtiExport::post_class_file_load_hook`).
> 
> Passed tiers 1 - 3 testing.

Looks good.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13992#pullrequestreview-1427038823


More information about the hotspot-runtime-dev mailing list