uschindler opened a new pull request, #14642: URL: https://github.com/apache/lucene/pull/14642
This is an optimization to avoid using a bootstrap when creting the MethodHandle constant. This won't be backported as it's not easy possible to do with ASM. Basically, if the `MethodHandle` in our function list is a direct one and reachable from system classloader, we push a reference to it directly to stack. This is the common case for static (named) functions and all methods in the default functions. The classfile API makes it easy, because if a `MethodHandle` is direct and reachable by system classloader, it returns a non-empty `describeConstable()`. This won't improve performance for the execution (as it is a constant before and after), but it should improve startup time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org