Uh oh!
There was an error while loading. Please reload this page.
Split join_codegen_and_link() into two steps - #68601
Conversation
rust-highfive
commented
Jan 28, 2020
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
0dvictor
commented
Jan 28, 2020
0dvictor
commented
Jan 28, 2020
r? @tmandry |
rust-highfive
commented
Jan 28, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bjorn3
left a comment
There was a problem hiding this comment.
Just a few comments, but looks great otherwise.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
This drops dep_graph before linking now, so this should reduce memory consumption during linking.
bjorn3
commented
Jan 28, 2020
You will need to update the |
There was a problem hiding this comment.
This is introducing a stall inside what looks kind of like an accessor, when there wasn't one before. I think there should be a comment on the function, at least. Also, double check that this doesn't seem like a problem at any call sites.
There was a problem hiding this comment.
Good point, and after a second thought, I think it makes more sense to keep join_codegen in where join_codegen_and_link was, so that behavior changes should be minimized.
I add a commit to the PR moving join_codegen into Linker::link to demonstrate the change, could you take a look?
There was a problem hiding this comment.
BTW, we can still drop dep_graph before calling backend to link, so we should reduce similar memory consumption during linking, as if we join codegen inside Queries::linker().
rust-highfive
commented
Jan 29, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
rust-highfive
commented
Jan 29, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
rust-highfive
commented
Jan 29, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
tmandry
commented
Feb 3, 2020
@bors r+ |
bors
commented
Feb 3, 2020
📌 Commit ff1a5a1f613a9ca42fa0ddcaf23da086f0cae390 has been approved by |
`join_codegen_and_link()` is split to `join_codegen()` and `link()`.
tmandry
commented
Feb 4, 2020
@bors r+ |
bors
commented
Feb 4, 2020
📌 Commit ae51d2b has been approved by |
bors
commented
Feb 4, 2020
Split `join_codegen_and_link()` into two steps `join_codegen_and_link()` is split to `join_codegen()` and `link()`.
bors
commented
Feb 4, 2020
☀️ Test successful - checks-azure |
join_codegen_and_link()is split tojoin_codegen()andlink().