Re: RFR: 8339205: Optimize StackMapGenerator [v7]

2024-10-10 Thread Chen Liang
On Wed, 9 Oct 2024 17:40:13 GMT, Shaojin Wen wrote: >> Reduce code size by combining calls and defining local variables > > Shaojin Wen has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 18 commits: > > - Merge remote-tracking branch

Re: RFR: 8339205: Optimize StackMapGenerator [v7]

2024-10-09 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits: - Merge remote-tracking branch 'upstream/master' into optim_stack_map_gen_202408 - use 4 spa

Re: RFR: 8339205: Optimize StackMapGenerator [v6]

2024-10-09 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision: use 4 spaces. - Changes: - all: https://git.openjdk.org/jdk/pull/20756/files - new: https://git.openjd

Re: RFR: 8339205: Optimize StackMapGenerator [v5]

2024-10-09 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision: Update src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java Co-authored-by: Chen Liang

Re: RFR: 8339205: Optimize StackMapGenerator [v4]

2024-10-09 Thread Chen Liang
On Sat, 5 Oct 2024 15:42:08 GMT, Shaojin Wen wrote: >> Reduce code size by combining calls and defining local variables > > Shaojin Wen has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 15 commits: > > - Merge branch 'master' into o

Re: RFR: 8339205: Optimize StackMapGenerator [v4]

2024-10-05 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 15 commits: - Merge branch 'master' into optim_stack_map_gen_202408 - Merge branch 'master' into optim_st

Re: RFR: 8339205: Optimize StackMapGenerator [v3]

2024-10-04 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 14 commits: - Merge branch 'master' into optim_stack_map_gen_202408 - reduce codeSize - reduce codeSize

Re: RFR: 8339205: Optimize StackMapGenerator [v2]

2024-10-04 Thread ExE Boss
On Fri, 4 Oct 2024 14:03:20 GMT, Shaojin Wen wrote: >> Reduce code size by combining calls and defining local variables > > Shaojin Wen has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 13 commits: > > - reduce codeSize > - reduce

Re: RFR: 8339205: Optimize StackMapGenerator

2024-10-04 Thread Chen Liang
On Wed, 28 Aug 2024 22:20:25 GMT, Shaojin Wen wrote: > Reduce code size by combining calls and defining local variables Can you fix the merge conflicts? - PR Comment: https://git.openjdk.org/jdk/pull/20756#issuecomment-2372834014

Re: RFR: 8339205: Optimize StackMapGenerator [v2]

2024-10-04 Thread Shaojin Wen
> Reduce code size by combining calls and defining local variables Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 13 commits: - reduce codeSize - reduce codeSize - decStack & stackUnderflow - fix merge error - Merge

Re: RFR: 8339205: Optimize StackMapGenerator$Frame

2024-08-28 Thread Shaojin Wen
On Wed, 28 Aug 2024 22:59:20 GMT, Shaojin Wen wrote: >> src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java >> line 1060: >> >>> 1058: if (desc == CD_void) throw new AssertionError("Should >>> not reach here"); >>> 1059: Type type; >>>

Re: RFR: 8339205: Optimize StackMapGenerator$Frame

2024-08-28 Thread Shaojin Wen
On Wed, 28 Aug 2024 22:38:11 GMT, Chen Liang wrote: >> A small optimization to reduce the code size of StackMapGenerator.Frame's >> pushStack and setLocalsFromArg methods >> >> Below is the compiler log of C2 >> >> >> # baseline >> jdk.internal.classfile.impl.StackMapGenerator$Frame::pushStac

Re: RFR: 8339205: Optimize StackMapGenerator$Frame

2024-08-28 Thread Chen Liang
On Wed, 28 Aug 2024 22:20:25 GMT, Shaojin Wen wrote: > A small optimization to reduce the code size of StackMapGenerator.Frame's > pushStack and setLocalsFromArg methods > > Below is the compiler log of C2 > > > # baseline > jdk.internal.classfile.impl.StackMapGenerator$Frame::pushStack (27 b