RFR: 8324125: Improve class initialization barrier in TemplateTable::_new for RISC-V

Fei Yang fyang at openjdk.org
Thu Jan 25 09:30:31 UTC 2024


On Wed, 24 Jan 2024 09:16:09 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, This RISC-V Port implementation for https://github.com/openjdk/jdk/pull/17006,
> 
> ### Testing:
> 
> - [x]  Run tier1-3 tests on qemu 8.1.0 with UseRVV (fastdebug)
> - [x]  Run tier1-3 tests with SiFive unmatched (release)

Marked as reviewed by fyang (Reviewer).

src/hotspot/cpu/riscv/templateTable_riscv.cpp line 3551:

> 3549: 
> 3550:   // make sure klass is initialized
> 3551:   assert(VM_Version::supports_fast_class_init_checks(), "Optimization requires support for fast class initialization checks");

Nit: better to put the msg string on a separate line.

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

PR Review: https://git.openjdk.org/jdk/pull/17548#pullrequestreview-1843223066
PR Review Comment: https://git.openjdk.org/jdk/pull/17548#discussion_r1466079862


More information about the hotspot-compiler-dev mailing list