Skip to content

Commit 6139779

Browse files
authored
remove reference to a few stale GC environment variables (#54990)
Did a quick grep and couldn't find any reference to them besides this manual.
1 parent 4b4468a commit 6139779

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

doc/src/manual/environment-variables.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -482,35 +482,6 @@ Allows you to enable or disable zones for a specific Julia run.
482482
For instance, setting the variable to `+GC,-INFERENCE` will enable the `GC` zones and disable
483483
the `INFERENCE` zones. See [Dynamically Enabling and Disabling Zones](@ref).
484484

485-
### [`JULIA_GC_ALLOC_POOL`](@id JULIA_GC_ALLOC_POOL)
486-
### [`JULIA_GC_ALLOC_OTHER`](@id JULIA_GC_ALLOC_OTHER)
487-
### [`JULIA_GC_ALLOC_PRINT`](@id JULIA_GC_ALLOC_PRINT)
488-
489-
If set, these environment variables take strings that optionally start with the
490-
character `'r'`, followed by a string interpolation of a colon-separated list of
491-
three signed 64-bit integers (`int64_t`). This triple of integers `a:b:c`
492-
represents the arithmetic sequence `a`, `a + b`, `a + 2*b`, ... `c`.
493-
494-
* If it's the `n`th time that `jl_gc_pool_alloc()` has been called, and `n`
495-
belongs to the arithmetic sequence represented by `$JULIA_GC_ALLOC_POOL`,
496-
then garbage collection is forced.
497-
* If it's the `n`th time that `maybe_collect()` has been called, and `n` belongs
498-
to the arithmetic sequence represented by `$JULIA_GC_ALLOC_OTHER`, then garbage
499-
collection is forced.
500-
* If it's the `n`th time that `jl_gc_collect()` has been called, and `n` belongs
501-
to the arithmetic sequence represented by `$JULIA_GC_ALLOC_PRINT`, then counts
502-
for the number of calls to `jl_gc_pool_alloc()` and `maybe_collect()` are
503-
printed.
504-
505-
If the value of the environment variable begins with the character `'r'`, then
506-
the interval between garbage collection events is randomized.
507-
508-
!!! note
509-
510-
These environment variables only have an effect if Julia was compiled with
511-
garbage-collection debugging (that is, if `WITH_GC_DEBUG_ENV` is set to `1`
512-
in the build configuration).
513-
514485
### [`JULIA_GC_NO_GENERATIONAL`](@id JULIA_GC_NO_GENERATIONAL)
515486

516487
If set to anything besides `0`, then the Julia garbage collector never performs

0 commit comments

Comments
 (0)