RFR: 8305236: The LoadLoad barrier has been useless after JDK-8220051 [v2]

SUN Guoyun duke at openjdk.org
Tue Apr 4 03:54:05 UTC 2023


> After JDK-8220051, Interpreter::notice_safepoints() only be executed at a safe point, so LoadLoad barrier is useless.
> Barrier directives are generally time-consuming, so this patch removes LoadLoad be used for aarch64 and riscv.
> 
> Jtreg tier1-2 testing for aarch64 has been done.
> 
> Please help review it.
> 
> Thanks.

SUN Guoyun has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'openjdk:master' into 8305236
 - 8305236: The LoadLoad barrier has been useless after JDK-8220051

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13244/files
  - new: https://git.openjdk.org/jdk/pull/13244/files/9ef70f2c..98d15f6a

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

  Stats: 17364 lines in 432 files changed: 7105 ins; 8778 del; 1481 mod
  Patch: https://git.openjdk.org/jdk/pull/13244.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13244/head:pull/13244

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


More information about the hotspot-runtime-dev mailing list