RFR: 8314061: [JVMCI] DeoptimizeALot stress logic breaks deferred barriers

Tom Rodriguez never at openjdk.org
Thu Aug 10 01:33:58 UTC 2023


JVMCIRuntime::new_array_common includes a little bit of stress logic that changes how it returns when DeoptimizeALot is set. This can cause it to bypass the call to SharedRuntime::on_slowpath_allocation_exit(current) which is where the deferred card mark logic lives. This can lead to random crashes of various kinds.

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

Commit messages:
 - 8314061: [JVMCI] DeoptimizeALot stress logic breaks deferred barriers

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

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


More information about the graal-dev mailing list