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

[GR-18163] Implement thread-safe autoloading #3078

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 31, 2023
@graalvmbot graalvmbot force-pushed the bd/thread-safe-autoload branch from 898ac0d to 1c42f7e Compare June 9, 2023 13:25
eregon added 8 commits June 12, 2023 13:22
* Do not use the RubyConstant#value field to store the path for an autoload,
  it is already stored in the AutoloadConstant.
* Now it is clear the RubyConstant#value is null for an autoload.
* We stash the value of the constant being autoloaded in AutoloadConstant
  and only publish it once the autoload ends.
* Fixes #2431
  and #3040
* Necessary to pass the cleaned-up spec in this commit.
@graalvmbot graalvmbot force-pushed the bd/thread-safe-autoload branch from 1c42f7e to a4bc1f8 Compare June 12, 2023 11:30
@graalvmbot graalvmbot force-pushed the bd/thread-safe-autoload branch from a4bc1f8 to 7dceedd Compare June 12, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants