git: openjdk/riscv-port-jdk17u: riscv-port: 8276799: Implementation of JEP 422: Linux/RISC-V Port (#1)

duke duke at openjdk.org
Mon Feb 20 08:33:10 UTC 2023


Changeset: d4c1e23c
Author:    yadongw <yadong.w at hotmail.com>
Committer: GitHub <noreply at github.com>
Date:      2023-02-20 16:32:40 +0000
URL:       https://git.openjdk.org/riscv-port-jdk17u/commit/d4c1e23cf980c55a9f1d0e10de9df91ba27a6e26

8276799: Implementation of JEP 422: Linux/RISC-V Port (#1)

* 8276799: Implementation of JEP 422: Linux/RISC-V Port

* revert 8277417: C1 LIR instruction for load-klass

* revert 8278387: Implement UseHeavyMonitors consistently

* revert 8227369: pd_disjoint_words_atomic() needs to be atomic

* revert 8258192: Obsolete the CriticalNatives flag

* revert 8281632: riscv: Improve interpreter stack banging

* revert 8283364: Intrinsify countPositives

* enable the biased locking

* isolate modification to other platforms

* 8282477: vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler

* 8282306: os::is_first_C_frame(frame*) crashes on invalid link access

* fix copyright year

* fix indentation

! make/autoconf/jvm-features.m4
! make/autoconf/libraries.m4
! make/autoconf/platform.m4
! make/hotspot/gensrc/GensrcAdlc.gmk
+ src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp
+ src/hotspot/cpu/riscv/assembler_riscv.cpp
+ src/hotspot/cpu/riscv/assembler_riscv.hpp
+ src/hotspot/cpu/riscv/assembler_riscv.inline.hpp
+ src/hotspot/cpu/riscv/bytes_riscv.hpp
+ src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp
+ src/hotspot/cpu/riscv/c1_Defs_riscv.hpp
+ src/hotspot/cpu/riscv/c1_FpuStackSim_riscv.cpp
+ src/hotspot/cpu/riscv/c1_FpuStackSim_riscv.hpp
+ src/hotspot/cpu/riscv/c1_FrameMap_riscv.cpp
+ src/hotspot/cpu/riscv/c1_FrameMap_riscv.hpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.hpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.hpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LIR_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LinearScan_riscv.cpp
+ src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp
+ src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp
+ src/hotspot/cpu/riscv/c1_globals_riscv.hpp
+ src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/c2_globals_riscv.hpp
+ src/hotspot/cpu/riscv/c2_init_riscv.cpp
+ src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp
+ src/hotspot/cpu/riscv/codeBuffer_riscv.hpp
+ src/hotspot/cpu/riscv/compiledIC_riscv.cpp
+ src/hotspot/cpu/riscv/copy_riscv.hpp
+ src/hotspot/cpu/riscv/disassembler_riscv.hpp
+ src/hotspot/cpu/riscv/foreign_globals_riscv.cpp
+ src/hotspot/cpu/riscv/foreign_globals_riscv.hpp
+ src/hotspot/cpu/riscv/frame_riscv.cpp
+ src/hotspot/cpu/riscv/frame_riscv.hpp
+ src/hotspot/cpu/riscv/frame_riscv.inline.hpp
+ src/hotspot/cpu/riscv/gc/g1/g1BarrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/g1/g1BarrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/g1/g1Globals_riscv.hpp
+ src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/shared/barrierSetNMethod_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/shared/modRefBarrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shared/modRefBarrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/shenandoah/c1/shenandoahBarrierSetC1_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/shenandoah/shenandoah_riscv64.ad
+ src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/gc/z/zGlobals_riscv.cpp
+ src/hotspot/cpu/riscv/gc/z/zGlobals_riscv.hpp
+ src/hotspot/cpu/riscv/gc/z/z_riscv64.ad
+ src/hotspot/cpu/riscv/globalDefinitions_riscv.hpp
+ src/hotspot/cpu/riscv/globals_riscv.hpp
+ src/hotspot/cpu/riscv/icBuffer_riscv.cpp
+ src/hotspot/cpu/riscv/icache_riscv.cpp
+ src/hotspot/cpu/riscv/icache_riscv.hpp
+ src/hotspot/cpu/riscv/interp_masm_riscv.cpp
+ src/hotspot/cpu/riscv/interp_masm_riscv.hpp
+ src/hotspot/cpu/riscv/interpreterRT_riscv.cpp
+ src/hotspot/cpu/riscv/interpreterRT_riscv.hpp
+ src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp
+ src/hotspot/cpu/riscv/jniFastGetField_riscv.cpp
+ src/hotspot/cpu/riscv/jniTypes_riscv.hpp
+ src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
+ src/hotspot/cpu/riscv/macroAssembler_riscv.hpp
+ src/hotspot/cpu/riscv/macroAssembler_riscv.inline.hpp
+ src/hotspot/cpu/riscv/matcher_riscv.hpp
+ src/hotspot/cpu/riscv/methodHandles_riscv.cpp
+ src/hotspot/cpu/riscv/methodHandles_riscv.hpp
+ src/hotspot/cpu/riscv/nativeInst_riscv.cpp
+ src/hotspot/cpu/riscv/nativeInst_riscv.hpp
+ src/hotspot/cpu/riscv/registerMap_riscv.cpp
+ src/hotspot/cpu/riscv/registerMap_riscv.hpp
+ src/hotspot/cpu/riscv/register_definitions_riscv.cpp
+ src/hotspot/cpu/riscv/register_riscv.cpp
+ src/hotspot/cpu/riscv/register_riscv.hpp
+ src/hotspot/cpu/riscv/relocInfo_riscv.cpp
+ src/hotspot/cpu/riscv/relocInfo_riscv.hpp
+ src/hotspot/cpu/riscv/riscv.ad
+ src/hotspot/cpu/riscv/riscv_b.ad
+ src/hotspot/cpu/riscv/riscv_v.ad
+ src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp
+ src/hotspot/cpu/riscv/stubGenerator_riscv.cpp
+ src/hotspot/cpu/riscv/stubRoutines_riscv.cpp
+ src/hotspot/cpu/riscv/stubRoutines_riscv.hpp
+ src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp
+ src/hotspot/cpu/riscv/templateTable_riscv.cpp
+ src/hotspot/cpu/riscv/templateTable_riscv.hpp
+ src/hotspot/cpu/riscv/universalNativeInvoker_riscv.cpp
+ src/hotspot/cpu/riscv/universalUpcallHandle_riscv.cpp
+ src/hotspot/cpu/riscv/vmStructs_riscv.hpp
+ src/hotspot/cpu/riscv/vm_version_ext_riscv.cpp
+ src/hotspot/cpu/riscv/vm_version_ext_riscv.hpp
+ src/hotspot/cpu/riscv/vm_version_riscv.cpp
+ src/hotspot/cpu/riscv/vm_version_riscv.hpp
+ src/hotspot/cpu/riscv/vmreg_riscv.cpp
+ src/hotspot/cpu/riscv/vmreg_riscv.hpp
+ src/hotspot/cpu/riscv/vmreg_riscv.inline.hpp
+ src/hotspot/cpu/riscv/vtableStubs_riscv.cpp
! src/hotspot/os/linux/os_linux.cpp
+ src/hotspot/os_cpu/linux_riscv/assembler_linux_riscv.cpp
+ src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/bytes_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/copy_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/gc/z/zSyscall_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/globals_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/orderAccess_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp
+ src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/prefetch_linux_riscv.inline.hpp
+ src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.cpp
+ src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/vmStructs_linux_riscv.hpp
+ src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp
! src/hotspot/share/c1/c1_LIR.cpp
! src/hotspot/share/c1/c1_LIR.hpp
! src/hotspot/share/c1/c1_LIRAssembler.cpp
! src/hotspot/share/c1/c1_LIRAssembler.hpp
! src/hotspot/share/c1/c1_LinearScan.cpp
! src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp
! src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp
! src/hotspot/share/jfr/utilities/jfrBigEndian.hpp
! src/hotspot/share/opto/regmask.hpp
! src/hotspot/share/runtime/abstract_vm_version.cpp
! src/hotspot/share/runtime/thread.inline.hpp
! src/hotspot/share/utilities/macros.hpp
! src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp
! src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionRISCV64.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/riscv64/LinuxRISCV64CFrame.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/riscv64/LinuxRISCV64ThreadContext.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64Thread.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64ThreadContext.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64ThreadFactory.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64Thread.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64ThreadContext.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64ThreadFactory.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/riscv/RISCV64ThreadContext.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_riscv64/LinuxRISCV64JavaThreadPDAccess.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64CurrentFrameGuess.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64JavaCallWrapper.java
+ src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64RegisterMap.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
! test/hotspot/jtreg/compiler/c2/TestBit.java
! test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java
! test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java
! test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java
! test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java
! test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java
+ test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedRISCV64CPU.java
! test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Double.java
! test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Float.java
! test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Int.java
! test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Double.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Float.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRedSqrt_Double.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Double.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Float.java
! test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Int.java
! test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java
! test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java
! test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java
! test/hotspot/jtreg/runtime/NMT/CheckForProperDetailStackTrace.java
! test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java
! test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java
! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java
! test/jdk/jdk/jfr/event/os/TestCPUInformation.java
! test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java
! test/lib/jdk/test/lib/Platform.java



More information about the riscv-port-dev mailing list