Integrated: 8291947: riscv: fail to build after JDK-8290840
Yadong Wang
yadongwang at openjdk.org
Fri Aug 5 09:15:59 UTC 2022
On Fri, 5 Aug 2022 03:27:41 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:
> [JDK-8290840](https://bugs.openjdk.org/browse/JDK-8290840) moved icache_flush from os_linux_riscv.cpp to icache_riscv.cpp, and we got 2 icache_flush there, and then caused a compilation error of "overloaded function with no contextual type information" in generate_icache_flush, which simply used the function name as a function address.
>
> We put icache_flush in os files because it was just a linux implementation, and we saw some test failures on Hifive Unleashed when using the "portable" version of __builtin__clear_cache provided by compilers about 2 years ago. The problem doesn't exist anymore, so we can revert to the previous implementation of just using the builtin clear cache function.
>
> Tier1 of hotspot and jdk passed on unmatched.
This pull request has now been integrated.
Changeset: 88c96dd3
Author: Yadong Wang <yadongwang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/88c96dd3eb28a273305d07fb2b0a36122484189c
Stats: 20 lines in 1 file changed: 0 ins; 19 del; 1 mod
8291947: riscv: fail to build after JDK-8290840
Reviewed-by: fyang, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/9763
More information about the hotspot-compiler-dev
mailing list