RFR: 8293007: riscv: failed to build after JDK-8290025 [v2]
Yadong Wang
yadongwang at openjdk.org
Mon Aug 29 14:41:12 UTC 2022
> The riscv port tier1 failed after JDK-8290025,after which GC took over the work of code cache sweeping.
> Then, concurrent GC like ZGC or Shenandoah failed at the unimplemented BarreirSetNMethod::arm(), and meanwhile, it exposed a long-stand bug in G1BarrierSetAssembler::g1_write_barrier_pre().
>
> Considering we are at the same time to rewrite the nmethod entry barrier when porting loom and generational ZGC in riscv port, we solve them together in this issue to make things smooth.
>
> Like JDK-8290700, we brought the similar optimization to the nmethod entry barrier, and introduced a out-of-line stub to the entry barriers of C2 methods, and also a concurrent-data-and instruction-patching barrier.
>
> Tier1 passed on unmatched, and also full jtreg tests tested on qemu user mode without new failures.
Yadong Wang has updated the pull request incrementally with two additional commits since the last revision:
- fix typo
- fix typo
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10056/files
- new: https://git.openjdk.org/jdk/pull/10056/files/8ef56f73..2bcc0331
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10056&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10056&range=00-01
Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/10056.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10056/head:pull/10056
PR: https://git.openjdk.org/jdk/pull/10056
More information about the shenandoah-dev
mailing list