RFR: 8308745: ObjArrayKlass::allocate_objArray_klass may call into java while holding a lock [v2]

Coleen Phillimore coleenp at openjdk.org
Thu Mar 7 01:38:56 UTC 2024


> This change creates a new sort of native recursive lock that can be held during JNI and Java calls, which can be used for synchronization while creating objArrayKlasses at runtime.
> 
> Passes tier1-7.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Dean's comments.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17739/files
  - new: https://git.openjdk.org/jdk/pull/17739/files/3625e6cc..d64aa560

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

  Stats: 5 lines in 2 files changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17739.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17739/head:pull/17739

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


More information about the hotspot-dev mailing list