On Thu, 8 Aug 2024 12:06:18 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

> I guess that upcalls are less performance critical

Think of something like `qsort`, or OpenGL calling the "repaint" function, or, 
with something like `jextract` , calling the clang cursor visitor. While using 
upcalls might be rare, the kind of use cases where you need upcalls typically 
fall into the bucket where the same upcall is used a gazillion time within a 
certain downcall. Then, it becomes performance critical.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20479#issuecomment-2326871347

Reply via email to