[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1650: Empty program will sometimes do a major GC, sometimes not - f
From: |
Chicken Trac |
Subject: |
Re: #1650: Empty program will sometimes do a major GC, sometimes not - figure out why |
Date: |
Fri, 21 May 2021 12:16:26 -0000 |
#1650: Empty program will sometimes do a major GC, sometimes not - figure out
why
---------------------------------------+----------------------
Reporter: sjamaan | Owner: sjamaan
Type: task | Status: assigned
Priority: major | Milestone: 5.3
Component: core libraries | Version: 5.1.0
Resolution: | Keywords:
Estimated difficulty: medium |
---------------------------------------+----------------------
Comment (by sjamaan):
Here's a log of a quick test I did just now, showing how random it really
is:
{{{
$ ~/chickens/chicken-5/bin/csc -version
CHICKEN
(c) 2008-2021, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.2.1 (rev 01b254c2)
linux-unix-gnu-x86-64 [ 64bit dload ptables ]
$ ~/chickens/chicken-5/bin/csc empty.scm
$ ./empty -:g
$ ./empty -:g
[GC] Heap high water mark hit, growing...
[GC] (old) fromspace: start=0x00007f67500ef010,
limit=0x00007f675016f010
[GC] (old) tospace: start=0x00007f675006e010,
limit=0x00007f67500ee010
[GC] resized heap to 3145728 bytes
[GC] (new) fromspace: start=0x00007f674feed010,
limit=0x00007f675006d010
[GC] (new) tospace: start=0x00007f674fd6c010,
limit=0x00007f674feec010
[GC] level 1 gcs(minor) 0 gcs(major) 1
[GC] stack 0x00007ffe554e15d0 0x00000000554e1dd0
0x00007ffe555e15d0
[GC] from 0x00007f674feed010 0x00007f674ff26188
0x00007f675006d010 0x0000000000039178
[GC] to 0x00007f674fd6c010 0x00007f674fd6c010
0x00007f674feec010
[GC] 0 locatives (from 32)
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
$ ./empty -:g
[GC] Heap high water mark hit, growing...
[GC] (old) fromspace: start=0x00007fd665f77010,
limit=0x00007fd665ff7010
[GC] (old) tospace: start=0x00007fd665ef6010,
limit=0x00007fd665f76010
[GC] resized heap to 3145728 bytes
[GC] (new) fromspace: start=0x00007fd665d75010,
limit=0x00007fd665ef5010
[GC] (new) tospace: start=0x00007fd665bf4010,
limit=0x00007fd665d74010
[GC] level 1 gcs(minor) 0 gcs(major) 1
[GC] stack 0x00007fff47ec3780 0x0000000047ec3940
0x00007fff47fc3780
[GC] from 0x00007fd665d75010 0x00007fd665dae188
0x00007fd665ef5010 0x0000000000039178
[GC] to 0x00007fd665bf4010 0x00007fd665bf4010
0x00007fd665d74010
[GC] 0 locatives (from 32)
}}}
--
Ticket URL: <https://bugs.call-cc.org/ticket/1650#comment:6>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: #1650: Empty program will sometimes do a major GC, sometimes not - figure out why,
Chicken Trac <=