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