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

clarify the default setting of --track-allocation option #30647

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

bicycle1885
Copy link
Member

Because I forget things easily. The default value is set here:

julia/src/jloptions.c

Lines 472 to 487 in 34f7a4a

case opt_track_allocation:
if (optarg != NULL) {
if (!strcmp(optarg,"user"))
malloclog = JL_LOG_USER;
else if (!strcmp(optarg,"all"))
malloclog = JL_LOG_ALL;
else if (!strcmp(optarg,"none"))
malloclog = JL_LOG_NONE;
else
jl_errorf("julia: invalid argument to --track-allocation (%s)", optarg);
break;
}
else {
malloclog = JL_LOG_USER;
}
break;
.

@JeffBezanson JeffBezanson merged commit 0df9b83 into JuliaLang:master Jan 10, 2019
@bicycle1885 bicycle1885 deleted the fix-track-alloc-doc branch January 10, 2019 02:51
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

Successfully merging this pull request may close these issues.

None yet

2 participants