8000 bugs on large_os_pages in ver1.2.1 · Issue #184 · microsoft/mimalloc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bugs on large_os_pages in ver1.2.1 #184

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

Closed
wstc opened this issue Dec 5, 2019 · 1 comment
Closed

bugs on large_os_pages in ver1.2.1 #184

wstc opened this issue Dec 5, 2019 · 1 comment

Comments

@wstc
Copy link
wstc commented Dec 5, 2019

when is set env (mimalloc_large_os_pages=1),

this occur when malloc call before mimalloc init。

_mi_malloc_generic -> mi_thread_init -> mi_process_init -> _mi_os_init ->
mi_option_get (large_os_pages) -> mi_option_init

because  _mi_preloading() is True, 
so we can't init large_os_page_size, and we'll never reinit it !

i test ver1.2.0, and i do not find such bug. please check it.

@daanx
Copy link
Collaborator
daanx commented Dec 30, 2019

Thanks for spotting this -- should be fixed in 1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0