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

Updating our dev branches #66

Merged
merged 533 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
6170c4b
Improve type-stability in SymTridiagonal triu!/tril! (#55646)
jishnub Sep 2, 2024
ae050a6
Reuse size-check function from `lacpy!` in `copytrito!` (#55664)
jishnub Sep 2, 2024
3a2a4d8
Update calling-c-and-fortran-code.md: fix ccall parameters (not a tup…
gvanuxem Sep 2, 2024
5c706af
Allow exact redefinition for types with recursive supertype reference…
Liozou Sep 2, 2024
39f2ad1
Reroute Symmetric/Hermitian + Diagonal through triangular (#55605)
jishnub Sep 2, 2024
04d6d5f
inference: check argtype compatibility in `abstract_call_opaque_closu…
aviatesk Sep 3, 2024
34b81fb
Forward istriu/istril for triangular to parent (#55663)
jishnub Sep 3, 2024
eebc1e4
win: move stack_overflow_warning to the backtrace fiber (#55640)
vtjnash Sep 3, 2024
e474e0b
Check if ct is not null before doing is_addr_on_stack in the macos si…
gbaraldi Sep 3, 2024
48b40ac
Profile.print: color Base/Core & packages. Make paths clickable (#55335)
IanButterworth Sep 4, 2024
b1b968e
better signal handling (#55623)
vtjnash Sep 4, 2024
7ce90a3
fix `exct` for mismatched opaque closure call
aviatesk Sep 3, 2024
8f6a3ef
improve `exct` modeling for opaque closure calls
aviatesk Sep 3, 2024
f87d164
fix `nothrow` modeling for `invoke` calls
aviatesk Sep 3, 2024
9482961
improve `exct` modeling for `invoke` calls
aviatesk Sep 3, 2024
2f0607f
show a bit more detail when finished precompiling (#55660)
IanButterworth Sep 4, 2024
62084b7
inference: fixes and improvements for exct modeling of `invoke`/OC ca…
aviatesk Sep 4, 2024
53d3ca9
subtype: minor clean up for fast path for lhs union and rhs typevar (…
N5N3 Sep 4, 2024
e818863
Adding `JL_DATA_TYPE` annotation to `_jl_globalref_t` (#55684)
udesou Sep 4, 2024
351727f
Make GEP when loading the PTLS an inbounds one. (#55682)
gbaraldi Sep 4, 2024
68d04ba
codegen: make boundscheck GEP not be inbounds while the load GEP is i…
gbaraldi Sep 4, 2024
e217f93
Make `rename` public (#55652)
nhz2 Sep 4, 2024
4aac5ae
contrib: include private libdir in `ldflags` on macOS (#55687)
topolarity Sep 4, 2024
bada969
Profile.print: Shorten C paths too (#55683)
IanButterworth Sep 4, 2024
6f04ee0
[LLVMLibUnwindJLL] Update llvmlibunwind to 14.0.6 (#48140)
gbaraldi Sep 6, 2024
8547b02
Add `JL_DATA_TYPE` for `jl_line_info_node_t` and `jl_code_info_t` (#5…
qinsoon Sep 6, 2024
0c9c1e2
Canonicalize names of nested functions by keeping a more fine grained…
d-netto Sep 6, 2024
ac54799
Use `uv_available_parallelism` inside `jl_effective_threads` (#55592)
giordano Sep 6, 2024
fa1c6b2
[LinearAlgebra] Initialise number of BLAS threads with `jl_effective_…
giordano Sep 7, 2024
e95eedd
Artifacts: Improve type-stability (#55707)
topolarity Sep 7, 2024
61be4de
TOML: Improve type-stability (#55016)
topolarity Sep 7, 2024
8cae8d1
Remove redundant conversion in structured matrix broadcasting (#55695)
jishnub Sep 7, 2024
4f0a333
[Profile] fix threading issue (#55704)
vtjnash Sep 7, 2024
8173750
delete flaky ranges/`TwicePrecision` test (#55712)
nsajko Sep 8, 2024
95c643a
Avoid stack overflow in triangular eigvecs (#55497)
jishnub Sep 8, 2024
527fa1c
builtins: add `Core.throw_methoderror` (#55705)
topolarity Sep 9, 2024
5272dad
Small missing tests for Irrationals (#55657)
kshyatt Sep 9, 2024
169e9e8
Implement faster thread local rng for scheduler (#55501)
gbaraldi Sep 9, 2024
1463c99
Add precompile signatures to Markdown to reduce latency. (#55715)
PallHaraldsson Sep 9, 2024
68feddc
Fix invalidations for FileIO (#55593)
nhz2 Sep 9, 2024
88c90ca
Fix various issues with PGO+LTO makefile (#55581)
Zentrik Sep 9, 2024
99b8868
Fix `pkgdir` for extensions (#55720)
IanButterworth Sep 10, 2024
7a645dd
Avoid materializing arrays in bidiag matmul (#55450)
jishnub Sep 10, 2024
d280792
Fix `@time_imports` extension recognition (#55718)
IanButterworth Sep 10, 2024
3653b38
drop typed GEP calls (#55708)
vtjnash Sep 10, 2024
bcf41ba
minor fixup for JuliaLang/julia#55705 (#55726)
aviatesk Sep 10, 2024
a7c9235
[REPL] prevent silent hang if precompile script async blocks fail (#5…
vtjnash Sep 10, 2024
56451d8
Various fixes to byte / bytearray search (#54579)
jakobnissen Sep 10, 2024
c6c449c
codegen: deduplicate code for calling a specsig (#55728)
vtjnash Sep 10, 2024
d7e417d
Fix "Various fixes to byte / bytearray search" (#55734)
nhz2 Sep 11, 2024
bee75f7
Fix `make binary-dist` when using `USE_BINARYBUILDER_LLVM=0` (#55731)
Zentrik Sep 11, 2024
255162c
Precompile the `@time_imports` printing so it doesn't confuse reports…
IanButterworth Sep 11, 2024
1eabe90
codegen: some cleanup of layout computations (#55730)
vtjnash Sep 11, 2024
bf6962c
Add some loading / LazyArtifacts precompiles to the sysimage (#55740)
IanButterworth Sep 11, 2024
22eded8
Update stable version number in readme to v1.10.5 (#55742)
Sbozzolo Sep 12, 2024
945517b
Add `invokelatest` barrier to `string(...)` in `@assert` (#55739)
topolarity Sep 12, 2024
8a9f384
Don't show string concatenation error hint with zero arg `+` (#55749)
christiangnrd Sep 12, 2024
ac150b3
Move lets to testsets and add codeunits tests (#55654)
kshyatt Sep 12, 2024
6af5838
Few more missing AnnotatedStrings tests (#55655)
kshyatt Sep 12, 2024
7642856
Don't leave trailing whitespace when printing do-block expr (#55738)
nickrobinson251 Sep 12, 2024
4079648
Don't pass lSystem to the linker since macos always links it (#55722)
gbaraldi Sep 12, 2024
e52a46c
define `numerator` and `denominator` for `Complex` (#55694)
nsajko Sep 12, 2024
94f8a3d
More testsets for SubString and a few missing tests (#55656)
kshyatt Sep 13, 2024
467ab85
Reorganize search tests into testsets (#55658)
kshyatt Sep 13, 2024
2616634
fix #45494, error in ssa conversion with complex type decl (#55744)
JeffBezanson Sep 13, 2024
2ee6551
Revert "Avoid materializing arrays in bidiag matmul" (#55737)
giordano Sep 13, 2024
243bded
Add a docs section about loading/precomp/ttfx time tuning (#55569)
IanButterworth Sep 14, 2024
346f38b
Add compat entry for `Base.donotdelete` (#55773)
LilithHafner Sep 14, 2024
f4fb87b
REPL: precompile in its own module because Main is closed. Add check …
IanButterworth Sep 15, 2024
4633607
Try to put back previously flakey addmul tests (#55775)
LilithHafner Sep 15, 2024
a993cd8
Print results of `runtests` with `printstyled` (#55780)
giordano Sep 15, 2024
55c40ce
move null check in `unsafe_convert` of RefValue (#55766)
JeffBezanson Sep 16, 2024
753296e
Fix hang in tmerge_types_slow (#55757)
gbaraldi Sep 16, 2024
5aad761
trace-compile: color recompilation yellow (#55763)
IanButterworth Sep 16, 2024
02549d5
Use PrecompileTools mechanics to compile REPL (#55782)
IanButterworth Sep 17, 2024
f808606
use `inferencebarrier` instead of `invokelatest` for 1-arg `@assert` …
aviatesk Sep 17, 2024
61c044c
Inline statically known method errors. (#54972)
gbaraldi Sep 17, 2024
48ddd2d
Fix shell `cd` error when working dir has been deleted (#41244)
norci Sep 17, 2024
0073917
codegen: fix bits compare for UnionAll (#55770)
vtjnash Sep 17, 2024
95a32db
use libuv to measure maxrss (#55806)
d-netto Sep 18, 2024
e4c8d4f
REPL: use atreplinit to change the active module during precompilatio…
IanButterworth Sep 18, 2024
441bcd0
🤖 [master] Bump the Pkg stdlib from 299a35610 to 308f9d32f (#55808)
DilumAluthgeBot Sep 18, 2024
86c567f
Improve codegen for `Core.throw_methoderror` and `Core.current_scope`…
topolarity Sep 19, 2024
58b239c
a minor improvement for EA-based `:effect_free`-ness refinement (#55796)
aviatesk Sep 19, 2024
4045e7b
fix #52986, regression in `@doc` of macro without REPL loaded (#55795)
JeffBezanson Sep 19, 2024
a73ba3b
Assume that docstring code with no lang is julia (#55465)
tecosaur Sep 19, 2024
b8093de
Broadcast binary ops involving strided triangular (#55798)
jishnub Sep 19, 2024
a31a880
Reland " Avoid materializing arrays in bidiag matmul #55450" (#55777)
jishnub Sep 19, 2024
550f321
move the test case added in #50174 to test/core.jl (#55811)
aviatesk Sep 20, 2024
b30f80d
[Random] Avoid conversion to `Float32` in `Float16` sampler (#55819)
giordano Sep 20, 2024
7f7a472
simplify the fields of `UnionSplitInfo` (#55815)
aviatesk Sep 20, 2024
220742d
Add errorhint for nonexisting fields and properties (#55165)
aplavin Sep 20, 2024
44bef0d
Improve printing of several arguments (#55754)
gdalle Sep 20, 2024
bce8f04
Markdown: support `parse(::AbstractString)` (#55747)
barucden Sep 20, 2024
911e025
better error for esc outside of macro expansion (#55797)
simeonschaub Sep 21, 2024
d9555c6
allow kronecker product between recursive triangular matrices (#55527)
araujoms Sep 22, 2024
d6fa66f
[Dates] Make test more robust against non-UTC timezones (#55829)
giordano Sep 22, 2024
4964c97
🤖 [master] Bump the Pkg stdlib from 308f9d32f to ef9f76c17 (#55838)
DilumAluthgeBot Sep 22, 2024
9136bdd
lmul!/rmul! for banded matrices (#55823)
jishnub Sep 22, 2024
f62a380
Specialize indexing triangular matrices with BandIndex (#55644)
jishnub Sep 23, 2024
0fade45
Replace regex package module checks with actual code checks (#55824)
IanButterworth Sep 23, 2024
fc9f147
fall back to slower stat filesize if optimized filesize fails (#55641)
IanButterworth Sep 23, 2024
9f1c068
Use "index" instead of "subscript" to refer to indexing in performanc…
LilithHafner Sep 24, 2024
db6d277
privatize annotated string API, take two (#55845)
KristofferC Sep 24, 2024
c3af4fc
🤖 [master] Bump the Downloads stdlib from 1061ecc to 89d3c7d (#55854)
DilumAluthgeBot Sep 24, 2024
2943833
docs: Small edits to noteworthy differences (#55852)
RichardLitt Sep 24, 2024
a06a801
Add filesystem func to transform a path to a URI (#55454)
tecosaur Sep 24, 2024
060035d
constrain the path argument of `include` functions to `AbstractString…
nsajko Sep 24, 2024
b0db75d
Mmap: fix grow! for non file IOs (#55849)
IanButterworth Sep 24, 2024
25cbe00
codegen: split gc roots from other bits on stack (#55767)
vtjnash Sep 24, 2024
df35d17
Refactoring to be considered before adding MMTk
udesou Aug 28, 2024
d2f2b8d
Removing jl_gc_notify_image_load, since it's a new function and not p…
udesou Aug 29, 2024
a42cb64
Moving gc_enable code to gc-common.c
udesou Sep 2, 2024
9256391
Addressing PR comments
udesou Sep 16, 2024
ec398e1
Push resolution of merge conflict
udesou Sep 19, 2024
68e5e11
Removing jl_gc_mark_queue_obj_explicit extern definition from schedul…
udesou Sep 25, 2024
c23f0db
Don't need the getter function since it's possible to use jl_small_ty…
udesou Sep 25, 2024
4bfcfe5
WIP: Adding support for MMTk/Immix
udesou Aug 27, 2024
b488bbe
Refactoring to be considered before adding MMTk
udesou Aug 28, 2024
a4cf8e7
Adding fastpath allocation
udesou Aug 29, 2024
ecb675a
Fixing removed newlines
udesou Aug 29, 2024
77db203
Refactoring to be considered before adding MMTk
udesou Aug 28, 2024
c5d3a40
Adding a few comments; Moving some functions to be closer together
udesou Sep 2, 2024
c26632e
Fixing merge conflicts
udesou Sep 25, 2024
c283442
Applying changes from refactoring before adding MMTk
udesou Sep 25, 2024
c601b11
Update TaskLocalRNG docstring according to #49110 (#55863)
danielwe Sep 25, 2024
6e5e87b
Root globals in toplevel exprs (#54433)
gbaraldi Sep 25, 2024
7a76e32
codegen: fix alignment typos (#55880)
vtjnash Sep 25, 2024
e4b29f7
Fix some corner cases of `isapprox` with unsigned integers (#55828)
giordano Sep 26, 2024
a5178a7
🤖 [master] Bump the Pkg stdlib from ef9f76c17 to 51d4910c1 (#55896)
DilumAluthgeBot Sep 27, 2024
32b9e1a
Profile: fix order of fields in heapsnapshot & improve formatting (#5…
IanButterworth Sep 27, 2024
60be409
Profile: Improve generation of clickable terminal links (#55857)
IanButterworth Sep 27, 2024
4b27a16
inference: add missing `TypeVar` handling for `instanceof_tfunc` (#55…
aviatesk Sep 27, 2024
0dbb6eb
Install terminfo data under /usr/share/julia (#55881)
nalimilan Sep 27, 2024
6e33dfb
expose metric to report reasons why full GCs were triggered (#55826)
d-netto Sep 27, 2024
3aad027
Revert "Improve printing of several arguments" (#55894)
vtjnash Sep 27, 2024
00f0a6c
Do not trigger deprecation warnings in `Test.detect_ambiguities` and …
devmotion Sep 28, 2024
4a4ca9c
do not intentionally suppress errors in precompile script from being …
vtjnash Sep 28, 2024
ff0a1be
Remove eigvecs method for SymTridiagonal (#55903)
jishnub Sep 28, 2024
97ecdb8
add --trim option for generating smaller binaries (#55047)
JeffBezanson Sep 28, 2024
17445fe
fix rawbigints OOB issues (#55917)
nsajko Sep 29, 2024
4da0671
prevent loading other extensions when precompiling an extension (#55589)
KristofferC Sep 30, 2024
2a2878c
TOML: Avoid type-pirating `Base.TOML.Parser` (#55892)
topolarity Sep 30, 2024
e500754
[FileWatching] fix PollingFileWatcher design and add workaround for a…
vtjnash Sep 25, 2024
b6e0136
[FileWatching] fix FileMonitor similarly and improve pidfile reliability
vtjnash Sep 26, 2024
f8d17e7
[FileWatching] reorganize file and add docs
vtjnash Sep 26, 2024
bb25910
Add `--trace-dispatch` (#55848)
kpamnany Sep 30, 2024
a7c5056
relocation: account for trailing path separator in depot paths (#55355)
fatteneder Sep 30, 2024
32ad9e6
change compiler to be stackless (#55575)
vtjnash Oct 1, 2024
1bd610f
optimizer: simplify the finalizer inlining pass a bit (#55934)
aviatesk Oct 1, 2024
06e7b9d
Limit `@inbounds` to indexing in the dual-iterator branch in `copyto_…
jishnub Oct 1, 2024
1cfda3f
Strong zero in Diagonal triple multiplication (#55927)
jishnub Oct 1, 2024
c3b7573
Fix dispatch on `alg` in Float16 Hermitian eigen (#55928)
jishnub Oct 1, 2024
4eb2e47
Remove specialized `ishermitian` method for `Diagonal{<:Real}` (#55948)
jishnub Oct 1, 2024
81ce6a4
Fix logic in `?` docstring example (#55945)
IanButterworth Oct 1, 2024
cf8df9a
fix `unwrap_macrocalls` (#55950)
aviatesk Oct 1, 2024
61802e2
fix FileWatching designs and add workaround for a stat bug on Apple (…
vtjnash Oct 1, 2024
75393f6
make faster BigFloats (#55906)
vtjnash Oct 1, 2024
03f8523
Add propagate_inbounds_meta to atomic genericmemory ops (#55902)
vchuravy Oct 1, 2024
dd31084
fix rounding mode in construction of `BigFloat` from pi (#55911)
nsajko Oct 1, 2024
a45d701
fix `nonsetable_type_hint_handler` (#55962)
aviatesk Oct 2, 2024
fbb3e11
REPL: make UndefVarError aware of imported modules (#55932)
IanButterworth Oct 2, 2024
5fc582b
fix test/staged.jl (#55967)
aviatesk Oct 2, 2024
d19bb47
Explicitly store a module's location (#55963)
Keno Oct 2, 2024
3034fc5
mergewith: add single argument example to docstring (#55964)
KronosTheLate Oct 2, 2024
77c5875
[build] avoid libedit linkage and align libccalllazy* SONAMEs (#55968)
cho-m Oct 3, 2024
234baad
Add missing `copy!(::AbstractMatrix, ::UniformScaling)` method (#55970)
dzhang314 Oct 3, 2024
be40163
Add forward progress update to NEWS.md (#54089)
LilithHafner Oct 3, 2024
6b9719f
Fix an intermittent test failure in `core` test (#55973)
Keno Oct 3, 2024
42737f7
fix comma logic in time_print (#55977)
IanButterworth Oct 3, 2024
b6b5528
optimizer: fix up the inlining algorithm to use correct `nargs`/`isva…
aviatesk Oct 3, 2024
b9d9b69
Add `.zed` directory to `.gitignore` (#55974)
jishnub Oct 4, 2024
b2cb6a3
typeintersect: reduce unneeded allocations from `merge_env`
N5N3 Jun 9, 2024
5d69bbb
typeintersect: trunc env before nested `intersect_all` if valid.
N5N3 Jun 9, 2024
636a35d
`@time` actually fix time report commas & add tests (#55982)
IanButterworth Oct 4, 2024
80d67d5
adjust EA to JuliaLang/julia#52527 (#55986)
aviatesk Oct 4, 2024
a8d7b68
Improvements to JITLink
vtjnash Sep 19, 2024
218edea
rewrite catchjmp asm to use normal relocations instead of manual editing
vtjnash Oct 4, 2024
7e2d803
add logic to prefer loading modules that are already loaded (#55908)
vtjnash Oct 4, 2024
7986e17
Apple: fix bus error on smaller readonly file in unix (#55859)
vtjnash Oct 4, 2024
1c5cd96
Add `Float16` to `Base.HWReal` (#55929)
giordano Oct 4, 2024
675da9d
docs: make mod an operator (#55988)
Mo-Gul Oct 4, 2024
99cc59c
typeintersect: allocation tuning for large `UnionAll` (#54745)
N5N3 Oct 4, 2024
fe86437
InteractiveUtils: add `@trace_compile` and `@trace_dispatch` (#55915)
IanButterworth Oct 5, 2024
3a132cf
Profile: document heap snapshot viewing tools (#55743)
nsajko Oct 5, 2024
fb77d60
[REPL] Fix #55850 by using `safe_realpath` instead of `abspath` in `p…
christiangnrd Oct 5, 2024
096c1d2
optimizer: enable load forwarding with the `finalizer` elision (#55991)
aviatesk Oct 5, 2024
5d12c6d
Avoid `stat`-ing stdlib path if it's unreadable (#55992)
giordano Oct 5, 2024
ae94729
doc: manual: cmd: fix Markdown in table entry for `--trim` (#55979)
nsajko Oct 5, 2024
0c8c20c
Improvements to JITLink, to ease transition (#54841)
vtjnash Oct 5, 2024
03c0b89
Avoid conversions to `Float64` in non-literal powers of `Float16` (#5…
giordano Oct 5, 2024
ab6df86
Remove unreachable error branch in memset calls (and in repeat) (#55985)
jakobnissen Oct 6, 2024
9bceed8
fix up docstring of `mod` (#56000)
Mo-Gul Oct 6, 2024
8248bf4
fix typos (#56008)
spaette Oct 6, 2024
2ae0b7e
Vectorise random vectors of `Float16` (#55997)
giordano Oct 6, 2024
7cc195c
Clarify `div` docstring for floating-point input (#55918)
Sagnac Oct 6, 2024
43f4afe
improve getproperty(Pairs) warnings (#55989)
aplavin Oct 6, 2024
2ca88ad
Document type-piracy / type-leakage restrictions for `require_stdlib`…
topolarity Oct 6, 2024
c2a2e38
[LinearAlgebra] Remove unreliable doctests (#56011)
giordano Oct 6, 2024
4d21841
cleanup functions of Hermitian matrices (#55951)
araujoms Oct 7, 2024
57e3c9e
Fix no-arg `ScopedValues.@with` within a scope (#56019)
IanButterworth Oct 7, 2024
87acb9e
LinearAlgebra: make matprod_dest public (#55537)
jishnub Oct 7, 2024
c7071e1
Sockets: Warn when local network access not granted. (#56023)
maleadt Oct 7, 2024
d4987a3
Update test due to switch to intel syntax by default in #48103 (#55993)
Zentrik Oct 7, 2024
4cdd864
add require_lock call to maybe_loaded_precompile (#56027)
vtjnash Oct 7, 2024
24555b8
fix `power_by_squaring`: use `promote` instead of type inference (#55…
nsajko Oct 8, 2024
8d515ed
Don't show keymap `@error` for hints (#56041)
IanButterworth Oct 8, 2024
01aa623
Refactoring to be considered before adding MMTk
udesou Aug 28, 2024
e10e3ca
Removing jl_gc_notify_image_load, since it's a new function and not p…
udesou Aug 29, 2024
d4c4360
Moving gc_enable code to gc-common.c
udesou Sep 2, 2024
d07cae7
Addressing PR comments
udesou Sep 16, 2024
8e15217
Push resolution of merge conflict
udesou Sep 19, 2024
0cb0784
Removing jl_gc_mark_queue_obj_explicit extern definition from schedul…
udesou Sep 25, 2024
12634f3
Don't need the getter function since it's possible to use jl_small_ty…
udesou Sep 25, 2024
aa80933
Remove extern from free_stack declaration in julia_internal.h
udesou Sep 27, 2024
7ce3fe3
Putting everything that is common GC tls into gc-tls-common.h
udesou Oct 8, 2024
048af72
Typo
udesou Oct 8, 2024
fe61c22
Adding gc-tls-common.h to Makefile as a public header
udesou Oct 8, 2024
b39f427
Merge branch 'refactor-pre-mmtk' into add-mmtk-upstream
udesou Oct 8, 2024
380fd83
Removing gc-tls-common fields from gc-tls-mmtk.h
udesou Oct 8, 2024
e516e4c
Fix typo in sockets tests. (#56038)
maleadt Oct 9, 2024
5117d04
EA: use `is_mutation_free_argtype` for the escapability check (#56028)
aviatesk Oct 9, 2024
ecf41b1
effects: fix `Base.@_noub_meta` (#56061)
topolarity Oct 9, 2024
18046c2
effects: improve `:noub_if_noinbounds` documentation (#56060)
topolarity Oct 9, 2024
38dbd11
Disallow assigning asymmetric values to SymTridiagonal (#56068)
jishnub Oct 9, 2024
9c55783
Remove unused matrix type params in diag methods (#56048)
jishnub Oct 9, 2024
91da4bf
LinearAlgebra: diagzero for non-OneTo axes (#55252)
jishnub Oct 9, 2024
44620b6
Multi-argument `gcdx(a, b, c...)` (#55935)
thchr Oct 9, 2024
ebf478a
Refactoring to be considered before adding MMTk
udesou Aug 28, 2024
0a8444e
Removing jl_gc_notify_image_load, since it's a new function and not p…
udesou Aug 29, 2024
c8818ea
Moving gc_enable code to gc-common.c
udesou Sep 2, 2024
e721e0c
Addressing PR comments
udesou Sep 16, 2024
6c0eb93
Push resolution of merge conflict
udesou Sep 19, 2024
fb0ec76
Removing jl_gc_mark_queue_obj_explicit extern definition from schedul…
udesou Sep 25, 2024
3eea079
Don't need the getter function since it's possible to use jl_small_ty…
udesou Sep 25, 2024
ef6c798
Remove extern from free_stack declaration in julia_internal.h
udesou Sep 27, 2024
63ca362
Putting everything that is common GC tls into gc-tls-common.h
udesou Oct 8, 2024
3271996
Typo
udesou Oct 8, 2024
cd4f5a1
Adding gc-tls-common.h to Makefile as a public header
udesou Oct 8, 2024
b26760d
Merge branch 'refactor-pre-mmtk' into add-mmtk-upstream
udesou Oct 10, 2024
f4eba6b
Adding jl_full_sweep_reasons since timing.jl depends on it
udesou Oct 10, 2024
c20ecb3
Fixing issue with jl_full_sweep_reasons (missing constants)
udesou Oct 10, 2024
aca5da9
Merge branch 'upstream-ready/immix' into dev
udesou Oct 10, 2024
7cc2fe1
Removing reduntant changes to upstream (wip; need to add back stuff f…
udesou Oct 10, 2024
3f7fd31
Typo
udesou Oct 10, 2024
7ff37de
Cleanup
udesou Oct 10, 2024
2e1d5da
Cleanup; Adding pieces to make building immix possible again
udesou Oct 10, 2024
2ca9fb0
Trying to add sticky back again (wip)
udesou Oct 10, 2024
b536f42
Adding jl_gc_notify_image_alloc calls that set the log bit for the wh…
udesou Oct 11, 2024
aa12b5d
Removing trailing whitespace
udesou Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 100
labels:
- "dependencies"
- "github-actions"
- "domain:ci"
2 changes: 1 addition & 1 deletion .github/workflows/LabelCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: yogevbd/[email protected]
- uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
with:
# REQUIRED_LABELS_ANY: "bug,enhancement,skip-changelog"
# REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['bug','enhancement','skip-changelog']"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout the JuliaLang/julia repository
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Check spelling with typos
#uses: crate-ci/typos@master
#uses: crate-ci/typos@c7af4712eda24dd1ef54bd8212973888489eb0ce # v1.23.5
env:
GH_TOKEN: "${{ github.token }}"
run: |
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/Whitespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Whitespace

permissions: {}

on:
push:
branches:
- master
pull_request:

jobs:
whitespace:
name: Check whitespace
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout the JuliaLang/julia repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Check whitespace
run: |
contrib/check-whitespace.jl
4 changes: 2 additions & 2 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false

- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084 # 2.0.0
with:
args: "--validate"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
.DS_Store
.idea/*
.vscode/*
.zed/*
*.heapsnapshot
.cache
# Buildkite: Ignore the entire .buildkite directory
Expand Down
11 changes: 4 additions & 7 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ Multi-threading changes
-----------------------

* `Threads.@threads` now supports the `:greedy` scheduler, intended for non-uniform workloads ([#52096]).
* A new exported struct `Lockable{T, L<:AbstractLock}` makes it easy to bundle a resource and its lock together ([#52898]).
* A new public (but unexported) struct `Base.Lockable{T, L<:AbstractLock}` makes it easy to bundle a resource and its lock together ([#52898]).

Build system changes
--------------------

* There is a new `Makefile` to build Julia and LLVM using the profile-guided and link-time optimizations (PGO and LTO) strategies, see `contrib/pgo-lto/Makefile` ([#45641]).

New library functions
---------------------

Expand Down Expand Up @@ -128,12 +130,6 @@ Standard library changes
* The new `@styled_str` string macro provides a convenient way of creating a
`AnnotatedString` with various faces or other attributes applied ([#49586]).

#### JuliaSyntaxHighlighting

* A new standard library for applying syntax highlighting to Julia code, this
uses `JuliaSyntax` and `StyledStrings` to implement a `highlight` function
that creates an `AnnotatedString` with syntax highlighting applied.

#### Package Manager

#### LinearAlgebra
Expand Down Expand Up @@ -420,6 +416,7 @@ Deprecated or removed
[#44247]: https://github.com/JuliaLang/julia/issues/44247
[#45164]: https://github.com/JuliaLang/julia/issues/45164
[#45396]: https://github.com/JuliaLang/julia/issues/45396
[#45641]: https://github.com/JuliaLang/julia/issues/45641
[#45962]: https://github.com/JuliaLang/julia/issues/45962
[#46196]: https://github.com/JuliaLang/julia/issues/46196
[#46372]: https://github.com/JuliaLang/julia/issues/46372
Expand Down
60 changes: 42 additions & 18 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ HAVE_SSP := 0
WITH_GC_VERIFY := 0
WITH_GC_DEBUG_ENV := 0

# MMTk GC
# Use MMTk GC
WITH_MMTK ?= 0

# Enable DTrace support
Expand All @@ -95,6 +95,9 @@ WITH_DTRACE := 0
# Enable ITTAPI integration
WITH_ITTAPI := 0

# Enable NVTX integration
WITH_NVTX := 0

# Enable Tracy support
WITH_TRACY := 0
WITH_TRACY_CALLSTACKS := 0
Expand Down Expand Up @@ -495,7 +498,7 @@ MACOSX_VERSION_MIN := 11.0
endif
endif

JCFLAGS_COMMON := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
JCFLAGS_COMMON := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -Wformat -Wformat-security
JCFLAGS_CLANG := $(JCFLAGS_COMMON)
JCFLAGS_GCC := $(JCFLAGS_COMMON) -fno-gnu-unique

Expand All @@ -504,7 +507,7 @@ JCPPFLAGS_COMMON := -fasynchronous-unwind-tables
JCPPFLAGS_CLANG := $(JCPPFLAGS_COMMON) -mllvm -enable-tail-merge=0
JCPPFLAGS_GCC := $(JCPPFLAGS_COMMON) -fno-tree-tail-merge

JCXXFLAGS_COMMON := -pipe $(fPIC) -fno-rtti -std=c++17
JCXXFLAGS_COMMON := -pipe $(fPIC) -fno-rtti -std=c++17 -Wformat -Wformat-security
JCXXFLAGS_CLANG := $(JCXXFLAGS_COMMON) -pedantic
JCXXFLAGS_GCC := $(JCXXFLAGS_COMMON) -fno-gnu-unique

Expand All @@ -516,6 +519,11 @@ SHIPFLAGS_COMMON := -O3
SHIPFLAGS_CLANG := $(SHIPFLAGS_COMMON) -g
SHIPFLAGS_GCC := $(SHIPFLAGS_COMMON) -ggdb2 -falign-functions

BOLT_LDFLAGS :=

BOLT_CFLAGS_GCC :=
BOLT_CFLAGS_CLANG :=

ifeq ($(OS), Darwin)
JCPPFLAGS_CLANG += -D_LARGEFILE_SOURCE -D_DARWIN_USE_64_BIT_INODE=1
endif
Expand All @@ -532,7 +540,8 @@ JCFLAGS := $(JCFLAGS_GCC)
JCPPFLAGS := $(JCPPFLAGS_GCC)
JCXXFLAGS := $(JCXXFLAGS_GCC)
DEBUGFLAGS := $(DEBUGFLAGS_GCC)
SHIPFLAGS := $(SHIPFLAGS_GCC)
SHIPFLAGS := $(SHIPFLAGS_GCC) $(BOLT_CFLAGS_GCC)
BOLT_CFLAGS := $(BOLT_CFLAGS_GCC)
endif

ifeq ($(USECLANG),1)
Expand All @@ -542,7 +551,8 @@ JCFLAGS := $(JCFLAGS_CLANG)
JCPPFLAGS := $(JCPPFLAGS_CLANG)
JCXXFLAGS := $(JCXXFLAGS_CLANG)
DEBUGFLAGS := $(DEBUGFLAGS_CLANG)
SHIPFLAGS := $(SHIPFLAGS_CLANG)
SHIPFLAGS := $(SHIPFLAGS_CLANG) $(BOLT_CFLAGS_CLANG)
BOLT_CFLAGS := $(BOLT_CFLAGS_CLANG)

ifeq ($(OS), Darwin)
CC += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
Expand Down Expand Up @@ -849,6 +859,11 @@ JCXXFLAGS += -DUSE_TIMING_COUNTS
JCFLAGS += -DUSE_TIMING_COUNTS
endif

ifeq ($(WITH_NVTX), 1)
JCXXFLAGS += -DUSE_NVTX
JCFLAGS += -DUSE_NVTX
endif

# ===========================================================================

# Select the cpu architecture to target, or automatically detects the user's compiler
Expand Down Expand Up @@ -981,6 +996,15 @@ BINARY:=64
MARCH=
endif

# Allow Clang to use CRC instructions (only applicable on AArch64)
ifneq (,$(findstring aarch64,$(ARCH)))
ifeq ($(USECLANG),1)
ifeq (,$(MARCH))
JCFLAGS += -mcrc
endif
endif
endif

# If we are running on powerpc64 or ppc64, fail out dramatically
ifneq (,$(filter $(ARCH), powerpc64 ppc64))
$(error Big-endian PPC64 is not supported, to ignore this error, set ARCH=ppc64le)
Expand Down Expand Up @@ -1112,20 +1136,13 @@ LIBUNWIND:=
else ifneq ($(DISABLE_LIBUNWIND), 0)
LIBUNWIND:=
else
ifeq ($(USE_SYSTEM_LIBUNWIND), 1)
ifneq ($(OS),Darwin)
LIBUNWIND:=-lunwind
# Only for linux since we want to use not yet released libunwind features
JCFLAGS+=-DSYSTEM_LIBUNWIND
JCPPFLAGS+=-DSYSTEM_LIBUNWIND
endif
else
ifneq ($(findstring $(OS),Darwin OpenBSD),)
LIBUNWIND:=-lunwind
JCPPFLAGS+=-DLLVMLIBUNWIND
else
LIBUNWIND:=-lunwind
endif
else ifeq ($(USE_SYSTEM_LIBUNWIND), 1)
# Only for linux and freebsd since we want to use not yet released gnu libunwind features
JCFLAGS+=-DSYSTEM_LIBUNWIND
JCPPFLAGS+=-DSYSTEM_LIBUNWIND
endif
endif

Expand Down Expand Up @@ -1319,7 +1336,7 @@ CSL_NEXT_GLIBCXX_VERSION=GLIBCXX_3\.4\.33|GLIBCXX_3\.5\.|GLIBCXX_4\.
# Note: we explicitly _do not_ define `CSL` here, since it requires some more
# advanced techniques to decide whether it should be installed from a BB source
# or not. See `deps/csl.mk` for more detail.
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM LIBSUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP LLD LIBTRACYCLIENT
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM LIBSUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP LLD LIBTRACYCLIENT BOLT
define SET_BB_DEFAULT
# First, check to see if BB is disabled on a global setting
ifeq ($$(USE_BINARYBUILDER),0)
Expand Down Expand Up @@ -1425,9 +1442,16 @@ OSLIBS += -lelf -lkvm -lrt -lpthread -latomic
# make it loaded first to
# prevent from linking to outdated system libs.
# See #21788
# TODO: Determine whether the condition here on AArch64 (added in #55089) should actually
# be `ifneq ($(USE_BINARYBUILDER),0)`. We vendor a correctly versioned libgcc_s when using
# BinaryBuilder which we want to link in early as noted above, but it could be the case
# that without BinaryBuilder, regardless of architecture, we need to delay linking libgcc_s
# to avoid getting the system one.
ifeq (,$(findstring aarch64,$(ARCH)))
OSLIBS += -lgcc_s
endif

OSLIBS += -Wl,--export-dynamic -Wl,--version-script=$(BUILDROOT)/src/julia.expmap \
OSLIBS += -Wl,--export-dynamic -Wl,--undefined-version -Wl,--version-script=$(BUILDROOT)/src/julia.expmap \
$(NO_WHOLE_ARCHIVE)
endif

Expand Down
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ julia-deps: | $(DIRS) $(build_datarootdir)/julia/base $(build_datarootdir)/julia
julia-stdlib: | $(DIRS) julia-deps
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/stdlib

julia-base: julia-deps $(build_sysconfdir)/julia/startup.jl $(build_man1dir)/julia.1 $(build_datarootdir)/julia/julia-config.jl
julia-base: julia-deps $(build_sysconfdir)/julia/startup.jl $(build_man1dir)/julia.1 $(build_datarootdir)/julia/julia-config.jl $(build_datarootdir)/julia/juliac.jl $(build_datarootdir)/julia/juliac-buildscript.jl
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/base

julia-libccalltest: julia-deps
Expand Down Expand Up @@ -130,7 +130,7 @@ check-whitespace:
ifneq ($(NO_GIT), 1)
@# Append the directory containing the julia we just built to the end of `PATH`,
@# to give us the best chance of being able to run this check.
@PATH="$(PATH):$(dir $(JULIA_EXECUTABLE))" $(JULIA_EXECUTABLE) $(call cygpath_w,$(JULIAHOME)/contrib/check-whitespace.jl)
@PATH="$(PATH):$(dir $(JULIA_EXECUTABLE))" julia $(call cygpath_w,$(JULIAHOME)/contrib/check-whitespace.jl)
else
$(warn "Skipping whitespace check because git is unavailable")
endif
Expand Down Expand Up @@ -181,7 +181,7 @@ $(build_sysconfdir)/julia/startup.jl: $(JULIAHOME)/etc/startup.jl | $(build_sysc
@echo Creating usr/etc/julia/startup.jl
@cp $< $@

$(build_datarootdir)/julia/julia-config.jl: $(JULIAHOME)/contrib/julia-config.jl | $(build_datarootdir)/julia
$(build_datarootdir)/julia/%: $(JULIAHOME)/contrib/% | $(build_datarootdir)/julia
$(INSTALL_M) $< $(dir $@)

$(build_depsbindir)/stringreplace: $(JULIAHOME)/contrib/stringreplace.c | $(build_depsbindir)
Expand Down Expand Up @@ -382,6 +382,11 @@ endif
cp -R -L $(JULIAHOME)/base/* $(DESTDIR)$(datarootdir)/julia/base
cp -R -L $(JULIAHOME)/test/* $(DESTDIR)$(datarootdir)/julia/test
cp -R -L $(build_datarootdir)/julia/* $(DESTDIR)$(datarootdir)/julia

# Set .jl sources as read-only to match package directories
find $(DESTDIR)$(datarootdir)/julia/base -type f -name \*.jl -exec chmod 0444 '{}' \;
find $(DESTDIR)$(datarootdir)/julia/test -type f -name \*.jl -exec chmod 0444 '{}' \;

# Copy documentation
cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/
# Remove various files which should not be installed
Expand All @@ -403,6 +408,10 @@ endif
# Install appdata file
mkdir -p $(DESTDIR)$(datarootdir)/metainfo/
$(INSTALL_F) $(JULIAHOME)/contrib/julia.appdata.xml $(DESTDIR)$(datarootdir)/metainfo/
# Install terminal info database
ifneq ($(WITH_TERMINFO),0)
cp -R -L $(build_datarootdir)/julia/terminfo $(DESTDIR)$(datarootdir)/julia/
endif

# Update RPATH entries and JL_SYSTEM_IMAGE_PATH if $(private_libdir_rel) != $(build_private_libdir_rel)
ifneq ($(private_libdir_rel),$(build_private_libdir_rel))
Expand Down Expand Up @@ -639,9 +648,6 @@ testall: check-whitespace $(JULIA_BUILD_MODE)
testall1: check-whitespace $(JULIA_BUILD_MODE)
@env JULIA_CPU_THREADS=1 $(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test all JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

testall3: check-whitespace $(JULIA_BUILD_MODE)
@env JULIA_CPU_THREADS=3 $(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test all JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

test-%: check-whitespace $(JULIA_BUILD_MODE) .FORCE
@([ $$(( $$(date +%s) - $$(date -r $(build_private_libdir)/sys.$(SHLIB_EXT) +%s) )) -le 100 ] && \
printf '\033[93m HINT The system image was recently rebuilt. Are you aware of the test-revise-* targets? See CONTRIBUTING.md. \033[0m\n') || true
Expand Down
Loading