RFR: 8307315: Missing ResourceMark in CDS and JVMTI code

Calvin Cheung ccheung at openjdk.org
Mon May 15 16:00:46 UTC 2023


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.

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

Commit messages:
 - 8307315: Missing ResourceMark in CDS and JVMTI code

Changes: https://git.openjdk.org/jdk/pull/13992/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13992&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307315
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13992.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13992/head:pull/13992

PR: https://git.openjdk.org/jdk/pull/13992


More information about the hotspot-runtime-dev mailing list