RFR: 8307315: Missing ResourceMark in CDS and JVMTI code [v2]

Calvin Cheung ccheung at openjdk.org
Mon May 15 18:39:43 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.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  add a comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13992/files
  - new: https://git.openjdk.org/jdk/pull/13992/files/930633d6..dd01033f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13992&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13992&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 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