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

Do lazy instruction deserialization against dup'ed reader #6275

Merged
merged 1 commit into from
Jun 15, 2020

Commits on Jun 9, 2020

  1. Do lazy instruction deserialization against dup'ed reader

    Instruction reading is done lazily to avoid the cost of
    deserializing method bodies that will never be called. However the
    buffer associated with the original file was being shared across
    all of these lazy deserializations, causing concurrency issues.
    
    This patch modifies the lazy deserialization lambda to operate
    against a duplicate of the original reader, isolating its changes
    in a separate buffer and avoiding the concurrency issues.
    
    Fixes jruby#6210
    headius committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    a040b30 View commit details
    Browse the repository at this point in the history