Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.7k
Commitcf40898
authored
JLJITLinkMemoryManager: Disable when CodeModel != Large (#60245)
Under normal circumstances we never deallocate JITted code, and JITLinkwill never abandon in-flight allocations. Unfortunately, on platformswhere we use a code model that require relocations to not be too large,the linker can bail out if an allocation gets placed somewhere unlucky.[1]This change forces the use of MapperJITLinkMemoryManager on theplatforms where we use a non-large code model so that this can't happen,and removes the jl_unreachable() calls so that the JITLink error getsreported nicely instead of failing in our code.Since every JITLink platform currently uses a non-large code model, weshould no longer use JLJITLinkMemoryManager by default anywhere (exceptwhen it has been enabled on a RTDyLD platform, like when sanitizers areenabled). It is still necessary to have this change for#60031 to goforward, else the previously RTDyLD platforms run out of memory.Thanks to@IanButterworth and@giordano again.[1]https://buildkite.com/julialang/julia-master/builds/52316/steps/canvas?sid=019aba85-6699-45e3-b173-55f1420063ca#019aba85-66c0-40f1-80ba-8c5b4da56dba/934-12681 parentf36882f commitcf40898
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| 774 | + | |
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| |||
779 | 780 | | |
780 | 781 | | |
781 | 782 | | |
| 783 | + | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
| |||
959 | 961 | | |
960 | 962 | | |
961 | 963 | | |
962 | | - | |
| 964 | + | |
| 965 | + | |
963 | 966 | | |
964 | 967 | | |
965 | 968 | | |
| |||
997 | 1000 | | |
998 | 1001 | | |
999 | 1002 | | |
1000 | | - | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
1001 | 1007 | | |
1002 | 1008 | | |
1003 | 1009 | | |
| |||
0 commit comments
Comments
(0)