Skip to content

src: add addon entry point symbol cache

Determine whether the dlopen() of a certain addon is the first load of said addon, or if the addon had previously been loaded. This is accomplished by storing the addon's entry point in a set. If, upon a subsequent load, after determining the addon's entry point, it is found to already be present in the cache, then the handle returned by the subsequent dlopen() is closed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading