Re: RFR: 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved

2023-09-15 Thread Feilong Jiang
On Thu, 14 Sep 2023 14:44:09 GMT, Fei Yang wrote: >> Hi, please consider. >> Inspired by [JDK-8313800](https://bugs.openjdk.org/browse/JDK-8313800). >> RISC-V also treats x8/fp as a callee-saved scratch register for some time, >> and it is freely used by C2-generated code. Therefore, any code i

Integrated: 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved

2023-09-15 Thread Feilong Jiang
On Wed, 13 Sep 2023 11:53:39 GMT, Feilong Jiang wrote: > Hi, please consider. > Inspired by [JDK-8313800](https://bugs.openjdk.org/browse/JDK-8313800). > RISC-V also treats x8/fp as a callee-saved scratch register for some time, > and it is freely used by C2-generated code. Therefo

RFR: 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved

2023-09-13 Thread Feilong Jiang
Hi, please consider. Inspired by [JDK-8313800](https://bugs.openjdk.org/browse/JDK-8313800). RISC-V also treats x8/fp as a callee-saved scratch register for some time, and it is freely used by C2-generated code. Therefore, any code in SA that uses getFP() in a compiled frame is very likely to co

Re: RFR: 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java

2023-08-14 Thread Feilong Jiang
On Mon, 14 Aug 2023 09:53:04 GMT, Vladimir Kempik wrote: > Please consider backporting this to 21u/17u if they are affected Sure, I'll backport it later. - PR Comment: https://git.openjdk.org/jdk/pull/15226#issuecomment-1677343419

Integrated: 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java

2023-08-14 Thread Feilong Jiang
On Thu, 10 Aug 2023 14:01:25 GMT, Feilong Jiang wrote: > Hi, inspired by [JDK-8247351](https://bugs.openjdk.org/browse/JDK-8247351), > this patch fixes a VMReg encoding issue in `RISCV64Frame.java`. As the VMReg > has two slots in a 64-bit VM, the encoding of `fp` should be `8 <

Re: RFR: 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java

2023-08-14 Thread Feilong Jiang
On Fri, 11 Aug 2023 06:50:59 GMT, Fei Yang wrote: >> Hi, inspired by [JDK-8247351](https://bugs.openjdk.org/browse/JDK-8247351), >> this patch fixes a VMReg encoding issue in `RISCV64Frame.java`. As the VMReg >> has two slots in a 64-bit VM, the encoding of `fp` should be `8 << 1` >> instead

RFR: 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java

2023-08-10 Thread Feilong Jiang
Hi, this patch fixes a VMReg encoding issue in `RISCV64Frame.java`. As the VMReg has two slots in a 64-bit VM, the encoding of `fp` should be `8 << 1` instead of `8`. Testing: - [x] tier1 with release build - [ ] tier2 with release build - [ ] tier3 with release build - Commit mess

Re: RFR: JDK-8307314: Implementation: Generational Shenandoah (Experimental) [v4]

2023-06-02 Thread Feilong Jiang
On Fri, 2 Jun 2023 02:49:25 GMT, Kelvin Nilsen wrote: >> OpenJDK Colleagues: >> >> Please review this proposed integration of Generational mode for Shenandoah >> GC under https://bugs.openjdk.org/browse/JDK-8307314. >> >> Generational mode of Shenandoah is enabled by adding >> `-XX:+UnlockExp

Re: RFR: 8301995: Move invokedynamic resolution information out of ConstantPoolCacheEntry [v16]

2023-04-20 Thread Feilong Jiang
On Fri, 21 Apr 2023 02:33:37 GMT, SUN Guoyun wrote: >> Matias Saavedra Silva has updated the pull request incrementally with one >> additional commit since the last revision: >> >> s390x NULL to nullptr > > src/hotspot/cpu/riscv/templateTable_riscv.cpp line 2233: > >> 2231: >> 2232: __ lo