Repository navigation
Fix environment record panics - #1285
Merged
Merged
Conversation
Test262 conformance changes:
Fixed panics: |
Contributor
Author
|
I vanquished the panics! |
Benchmark for a29dbdcClick to view benchmark
|
Benchmark for eef5887Click to view benchmark
|
Closed
Razican
approved these changes
May 28, 2021
Razican
left a comment
Member
There was a problem hiding this comment.
Looks good, I would only like a better naming. Benchmarks look reasonably good :)
Benchmark for e6af0fdClick to view benchmark
|
Benchmark for 92b8464Click to view benchmark
|
Benchmark for 8705e2bClick to view benchmark
|
RageKnify
approved these changes
May 29, 2021
RageKnify
left a comment
Contributor
There was a problem hiding this comment.
Looks good but I'd like if @HalidOdat could give their take.
Contributor
Author
|
Doesn't look like that phantom panic happens here. |
Benchmark for a9fc9e4Click to view benchmark
|
Benchmark for a559070Click to view benchmark
|
Benchmark for e7314d2Click to view benchmark
|
Benchmark for e7314d2Click to view benchmark
|
HalidOdat
approved these changes
Jun 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request fixes environment record panics that appeared after #1131.
The panics were caused by creating errors inside of environment record methods which used
&mut self. Creating errors would involve getting values from environment records, causing gc to panic. This is fixed by making most environment record methods use&selfand relying on internal mutability instead.