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

Fix pagetable1 sweeping on 32bit #32741

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Fix pagetable1 sweeping on 32bit #32741

merged 1 commit into from
Aug 2, 2019

Conversation

Keno
Copy link
Member

@Keno Keno commented Jul 30, 2019

If no pool allocations have occurred before the first GC (e.g.
because MEMDEBUG was set), the pagetable1 that covers the entire
(32bit) memory region on 32 bit machines may not have been
initialized yet, while the corresponding sweep function was making
the assumption that the passed in pagetable was non-null.
Add the appropriate check for initialization.

cc @yuyichao

If no pool allocations have occurred before the first GC (e.g.
because MEMDEBUG was set), the pagetable1 that covers the entire
(32bit) memory region on 32 bit machines may not have been
initialized yet, while the corresponding sweep function was making
the assumption that the passed in pagetable was non-null.
Add the appropriate check for initialization.
@Keno Keno requested a review from vtjnash July 30, 2019 21:13
@JeffBezanson JeffBezanson added the GC Garbage collector label Jul 30, 2019
@yuyichao
Copy link
Contributor

Lgtm

@Keno Keno merged commit 089cafc into master Aug 2, 2019
@delete-merged-branch delete-merged-branch bot deleted the kf/sweep1 branch August 2, 2019 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants