-
Notifications
You must be signed in to change notification settings - Fork 670
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
Test parallel compilation of many small programs. #3597
Merged
Merged
Conversation
This file contains 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
Stresses a code path in Chromium that wasn't easily exercised. |
lexaknyazev
approved these changes
Oct 10, 2023
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
Oct 11, 2023
Since there is no HeapLinkedHashMap yet, maintain the program completion query map with a combined HeapHashMap mapping programs to their completion queries, and a HeapVector which maintains the ordering of additions to the map. Stress this revised code path with an enhancement to the KHR_parallel_shader_compile conformance test KhronosGroup/WebGL#3597 . Verified (via printfs, while running the new test) that the lookups using Member<WebGLProgram> are working as expected. Fixed: 1472363 Change-Id: Ib23b4b2cfce5ae9100c073b21808fdbffc3453a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4924343 Reviewed-by: Michael Lippautz <[email protected]> Reviewed-by: Omer Katz <[email protected]> Commit-Queue: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/main@{#1207997}
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
Oct 12, 2023
…es." This reverts commit b427192. Reason for revert: caused crashes, crbug.com/1491984 Original change's description: > Rewrite program completion map in terms of GC'd data structures. > > Since there is no HeapLinkedHashMap yet, maintain the program > completion query map with a combined HeapHashMap mapping programs to > their completion queries, and a HeapVector which maintains the > ordering of additions to the map. > > Stress this revised code path with an enhancement to the > KHR_parallel_shader_compile conformance test > KhronosGroup/WebGL#3597 . > > Verified (via printfs, while running the new test) that the lookups > using Member<WebGLProgram> are working as expected. > > Fixed: 1472363 > Change-Id: Ib23b4b2cfce5ae9100c073b21808fdbffc3453a8 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4924343 > Reviewed-by: Michael Lippautz <[email protected]> > Reviewed-by: Omer Katz <[email protected]> > Commit-Queue: Kenneth Russell <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1207997} Bug: 1472363, 1491984 Change-Id: I37179a3cb96fb1aa926c6b64d987ef36151462d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4935614 Bot-Commit: Rubber Stamper <[email protected]> Commit-Queue: Rubber Stamper <[email protected]> Auto-Submit: Kenneth Russell <[email protected]> Owners-Override: Srinivas Sista <[email protected]> Cr-Commit-Position: refs/heads/main@{#1209006}
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
Jan 27, 2024
…es." This is a reland of commit b427192 This should fix the crash by skipping clearProgramCompletionQueries() after GC has started destroying the WebGLRenderingContextBase. Original change's description: > Rewrite program completion map in terms of GC'd data structures. > > Since there is no HeapLinkedHashMap yet, maintain the program > completion query map with a combined HeapHashMap mapping programs to > their completion queries, and a HeapVector which maintains the > ordering of additions to the map. > > Stress this revised code path with an enhancement to the > KHR_parallel_shader_compile conformance test > KhronosGroup/WebGL#3597 . > > Verified (via printfs, while running the new test) that the lookups > using Member<WebGLProgram> are working as expected. > > Fixed: 1472363 > Change-Id: Ib23b4b2cfce5ae9100c073b21808fdbffc3453a8 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4924343 > Reviewed-by: Michael Lippautz <[email protected]> > Reviewed-by: Omer Katz <[email protected]> > Commit-Queue: Kenneth Russell <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1207997} Change-Id: I5ea4102eeff2bb5ba5ff037ba4813c97cbec5340 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5237058 Commit-Queue: Kai Ninomiya <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/main@{#1253015}
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.
No description provided.