On Fri, 5 Jan 2024 23:55:53 GMT, Mandy Chung <mch...@openjdk.org> wrote:
> > Profiling of the benchmarks revealed several slowdowns: > > ``` > > * many expensive conversions from `Class<?>` to `ClassDesc` to > > `ClassEntry`, or even more expensive `MethodTypeDesc` > > > > * building proxy class from scratch from symbols also involves a lot of > > `String` concatenations, hashing, encoding and comparisons > > > > * computation of stack maps is also still expensive > > > > * `SplitConstantPool` was ineffective in some specific cases > > ``` > > Do you think these also cause the performance overhead in converting > java.lang.invoke to use ClassFile API (#17108)? Yes, I think it affects all performance critical applications. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17121#issuecomment-1881235421