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

[jit] Disable partial sharing during JITting, its only been tested in full aot mode, and doesn't seem to work with JITted methods. #7161

Merged
merged 2 commits into from
Feb 22, 2018

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Feb 21, 2018

Fixes #7085.

@vargaz vargaz requested a review from kumpera as a code owner February 21, 2018 06:12
@lewurm
Copy link
Contributor

lewurm commented Feb 21, 2018

we should add a CI lane for hybrid AOT

@vargaz
Copy link
Contributor Author

vargaz commented Feb 21, 2018

It would be enough to just run this make target on normal CI.

@marek-safar
Copy link
Member

build

@luhenry
Copy link
Contributor

luhenry commented Feb 21, 2018

How will this impact the hybridAOT case where the IL code has been stripped and only wrappers+trampolines are JITted?

@vargaz
Copy link
Contributor Author

vargaz commented Feb 21, 2018

It won't, this only affects JITting.

@luhenry
Copy link
Contributor

luhenry commented Feb 21, 2018

Ok, I am asking because when passing --hybrid-aot at run-time, we enable partial sharing (https://github.com/mono/mono/blob/master/mono/mini/driver.c#L1982 and https://github.com/mono/mono/blob/master/mono/mini/driver.c#L2577-L2578)

@vargaz
Copy link
Contributor Author

vargaz commented Feb 21, 2018

Yes, that was the problem, it also enabled it for the JIT where it was not tested, and doesn't seem to be working.

@marek-safar
Copy link
Member

@monojenkins backport 2018-02

@marek-safar
Copy link
Member

@monojenkins backport 2017-12

@vargaz vargaz merged commit 8ce0775 into mono:master Feb 22, 2018
@vargaz vargaz deleted the hybrid-fixes branch February 22, 2018 02:11
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
… full aot mode, and doesn't seem to work with JITted methods. (mono/mono#7161)

* [aot] Add hybrid aot tests.

* [jit] Disable partial sharing during JITting, its only been tested in full aot mode, and doesn't seem to work with JITted methods. Fixes mono/mono#7085.


Commit migrated from mono/mono@8ce0775
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