Skip to content

Implement HeapSizeOf for Url. Fixes #6912 - #6932

Merged
bors-servo merged 1 commit into
servo:masterfrom
cuzbog:memrs
Aug 4, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
cuzbog:memrs

Conversation

@cuzbog

@cuzbog cuzbog commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

Fixes #6912

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 3, 2015
@metajack

metajack commented Aug 3, 2015

Copy link
Copy Markdown
Collaborator

r? @SimonSapin

@SimonSapin

Copy link
Copy Markdown
Member

Looks good to me, but should this also remove something that previously said that Url uses zero heap size?

@jdm, you wrote in #6912 "they [URLs] are stubbed out as 0 in mem.rs right now", but I don’t see Url mentioned in mem.rs at all before this PR.

@cuzbog

cuzbog commented Aug 3, 2015

Copy link
Copy Markdown
Contributor Author

@SimonSapin It wasn't even included in mem.rs. Maybe another mem.rs? (There are 3 more :D )

@SimonSapin

Copy link
Copy Markdown
Member

I checked, none of them mention URLs either :)

@jdm

jdm commented Aug 3, 2015

Copy link
Copy Markdown
Member

Right, I added the stub in my unmerged #6874.

@SimonSapin

Copy link
Copy Markdown
Member

In that case,

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 46442d2 has been approved by SimonSapin

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 46442d2 with merge c2497fc...

bors-servo pushed a commit that referenced this pull request Aug 4, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

@bors-servo
bors-servo merged commit 46442d2 into servo:master Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants