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] Fix jit info leak when having aot images loaded #6505

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Jan 12, 2018

When we had a jit info table for aot images loaded in the domain, we would queue jit infos for freeing at domain unload time. This means leaking during entire application life.

Add comment for jit info freeing when having multiple tables.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=60986

When we had a jit info table for aot images loaded in the domain, we would queue jit infos for freeing at domain unload time. This means leaking during entire application life.

Add comment for jit info freeing when having multiple tables.

Fixes #60986.
@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Linux i386

@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Linux x64

@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Linux x64 FullAOT

@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Windows i386

@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Windows x64

@luhenry luhenry self-assigned this Jan 16, 2018
@luhenry
Copy link
Contributor

luhenry commented Jan 16, 2018

@monojenkins build Linux ARMv5 soft float

Copy link
Contributor

@kumpera kumpera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The issue is quite subtle and require realizing that kicking AOT bumps the number of JI table and it would cause nothing to be freed in the past.

Good catch.

@marek-safar marek-safar merged commit 4490aa5 into mono:master Jan 17, 2018
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.

4 participants