Re: RFR: 8340544: Optimize setLocalsFromArg [v2]

2024-09-20 Thread Claes Redestad
On Fri, 20 Sep 2024 16:35:07 GMT, Shaojin Wen wrote: >> CheckLocal once, reduce redundant checkLocal, rewrite switch, reduce method >> size, codeSize is reduced from 367 to 263. > > Shaojin Wen has updated the pull request incrementally with one additional > commit since the last revision: > >

Re: RFR: 8340544: Optimize setLocalsFromArg [v2]

2024-09-20 Thread Claes Redestad
On Fri, 20 Sep 2024 16:35:05 GMT, Shaojin Wen wrote: >> src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java >> line 1069: >> >>> 1067: localsSize += 2; >>> 1068: } else { >>> 1069: if (desc == CD_int || desc == C

Re: RFR: 8340544: Optimize setLocalsFromArg [v2]

2024-09-20 Thread Shaojin Wen
On Fri, 20 Sep 2024 16:13:06 GMT, Claes Redestad wrote: >> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> more compact > > src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java > line 1069: > >> 10

Re: RFR: 8340544: Optimize setLocalsFromArg [v2]

2024-09-20 Thread Shaojin Wen
> CheckLocal once, reduce redundant checkLocal, rewrite switch, reduce method > size, codeSize is reduced from 367 to 263. Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision: more compact - Changes: - all: https://git.open