On Mon, 28 Apr 2025 20:50:58 GMT, Chen Liang <li...@openjdk.org> wrote:
> Some dynamic constant pool entries with heavy symbolic descriptors currently > don't share them, yet they are used by stack map generation, and computing a > new descriptor every time introduces a heavy cost. > > This cost is obvious if bytecode generation uses constant dynamic - the stack > map generator parses the whole dynamic constant symbol to interpret the > return type of an ldc condy, such as in FFM downcalls. > > Both the lack of expensive symbol caching in dynamic cp entries and the > incorrect query in StackMapGenerator should be fixed. This pull request has now been integrated. Changeset: d7e648bb Author: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/d7e648bb2737362d3cba3350cae63b1013967a66 Stats: 103 lines in 6 files changed: 56 ins; 34 del; 13 mod 8355775: Improve symbolic sharing in dynamic constant pool entries Reviewed-by: asotona ------------- PR: https://git.openjdk.org/jdk/pull/24938