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

runtime: panic index in FindScavengeCandidate tests #35431

Closed
mknyszek opened this issue Nov 7, 2019 · 1 comment
Closed

runtime: panic index in FindScavengeCandidate tests #35431

mknyszek opened this issue Nov 7, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@mknyszek
Copy link
Contributor

@mknyszek mknyszek commented Nov 7, 2019

The builder linux-mips64le-mengzhuo is failing at its latest change with a panic index in scavenge tests for the new page allocator.

https://build.golang.org/log/ad51dd54c3603d92b85a219fbbba9c4d21794f3a

The problem is that it has a larger huge page size than any other system I've tested on thus far (32 MiB) so the fix is to just handle those cases correctly, or to no longer handle those cases at all.

I think it's OK to not handle them at all in the short term because our allocator is not huge-page aware, so the likelihood that 32 aligned MiB is going to be totally free and unscavenged is very low. The exception of course is a very large transient heap spike, so this should absolutely get fixed.

I'm going to push a short-term fix and work on a slightly bigger fix.

@bcmills @aclements @randall77 @cherrymui

@mknyszek mknyszek added the NeedsFix label Nov 7, 2019
@mknyszek mknyszek added this to the Go1.14 milestone Nov 7, 2019
@mknyszek mknyszek self-assigned this Nov 7, 2019
@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Nov 7, 2019

Change https://golang.org/cl/205937 mentions this issue: runtime: define maximum supported physical page and huge page sizes

@mknyszek mknyszek changed the title runtime: panic index in FindScavengeCandidate tests. runtime: panic index in FindScavengeCandidate tests Nov 8, 2019
@mknyszek mknyszek added the Soon label Nov 8, 2019
@gopherbot gopherbot closed this in ffb5646 Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.