Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: improve some cases of loading extensions in the presence of packages in the sysimage. #54750

Closed
wants to merge 3 commits into from

Conversation

KristofferC
Copy link
Member

@KristofferC KristofferC commented Jun 10, 2024

#52841 was intended to make the loading of extensions be less coupled to what packages are in the sysimage but it didn't get all the way there since the require calls are not "recorded" for packages in the sysimage.

In the following situation:

  • B depends on C
  • A has extension ACExt
  • Loading A, B

will load the ACExt in the normal case, but will not load it if B (and thus C) is in the sysimage.

This PR starts fixing that but it will still fail if the package in the sysimage ends up getting loaded from another precompiled package.

@KristofferC KristofferC changed the title add a failing test due of extension loading when trigger is in the sysimage WIP: improve some cases of loading extensions in the presence of packages in the sysimage. Jun 10, 2024
KristofferC and others added 3 commits June 10, 2024 18:34
…ps as explicitly loaded

this is important for packages in the sysimage whose dependencies should also be marked as loaded when they themselves are loaded
KristofferC added a commit that referenced this pull request Oct 22, 2024
…ckages are in the sysimage (#52841) (#56234)

This reverts commit 08d229f.

There are some bugs now where extensions do not load when their package
has been put into the sysimage. #52841 was made because it was common to
get cycles otherwise but with
#55589 that should be much less
of a problem.

Subsumes #54750.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant