Branch: refs/heads/smoke-me/gcdebug-ms-gh1196
Home: https://github.com/parrot/parrot
Commit: 3c1b6f06597835be08ca9d19c44320a6f0c322ca
https://github.com/parrot/parrot/commit/3c1b6f06597835be08ca9d19c44320a6f0c322ca
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M include/parrot/io.h
M include/parrot/platform_interface.h
M src/io/api.c
M src/io/filehandle.c
M src/io/io_private.h
M src/io/pipe.c
M src/io/socket.c
M src/io/stringhandle.c
M src/io/utilities.c
M src/platform/generic/io.c
M src/pmc/filehandle.pmc
M src/runcore/trace.c
Log Message:
-----------
[cage] ARGMOD->ARGIN const io api getters
Harmonize ARGMOD vs ARGIN in all IO functions.
Getters have a ARGIN handle, setters an ARGMOD.
io.h, latform_interface.h, io/filehandle.c, io/io_private.h,
io/pipe.c, io/socket.c, io/stringhandle.c, platform/generic/io.c
Not tested on msvc, most ARGMOD annotations do look wrong and need to be
improved. this has only effect on msvc with sal
Commit: 0631726f5325caeb9be057d1c75255037551512b
https://github.com/parrot/parrot/commit/0631726f5325caeb9be057d1c75255037551512b
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M include/parrot/io.h
M src/io/stringhandle.c
Log Message:
-----------
[codingstd] for io changes
Commit: 45cf48bc762c391223c4af0648ad49b1b960a2c4
https://github.com/parrot/parrot/commit/45cf48bc762c391223c4af0648ad49b1b960a2c4
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M ChangeLog
M src/gc/gc_ms.c
M src/gc/gc_private.h
Log Message:
-----------
[gc] Support -D1 GC stats with --ccflags=-DMEMORY_DEBUG for --gc=ms
Commit: 0dbfd5280e0952cf351a2df5a0ae275ba8f4aa86
https://github.com/parrot/parrot/commit/0dbfd5280e0952cf351a2df5a0ae275ba8f4aa86
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M config/gen/config_h/config_h.in
M src/gc/api.c
M src/gc/gc_gms.c
M src/gc/gc_inf.c
M src/gc/gc_ms.c
M src/gc/gc_ms2.c
M src/gc/gc_private.h
Log Message:
-----------
Prepare deprecation of the ListChunk GC API, and src/list.c
See GH #1179.
See #define PARROT_BUFFERLIKE_LIST in config.h to use it, still.
imageiofreeze still uses it.
Commit: 27c060d157f92f07d9c9c3ed27329419f85eb39c
https://github.com/parrot/parrot/commit/27c060d157f92f07d9c9c3ed27329419f85eb39c
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M src/gc/gc_ms.c
M src/gc/gc_private.h
Log Message:
-----------
[gc] Improve -D1 GC stats for --gc=ms
Commit: 6fcb42ea809d3c513525d3bd970628ee121c0c9d
https://github.com/parrot/parrot/commit/6fcb42ea809d3c513525d3bd970628ee121c0c9d
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M src/gc/gc_private.h
M src/gc/string_gc.c
Log Message:
-----------
[gc] add some -D201 support to --gc=ms, for strings
Commit: d8b1eb9363c69a24dddd30528ede02e229d989c2
https://github.com/parrot/parrot/commit/d8b1eb9363c69a24dddd30528ede02e229d989c2
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M src/pmc/handle.pmc
M src/pmc/stringhandle.pmc
Log Message:
-----------
[pmc] add missing fields to StringHandle.clone
read_offset, filename, read_buffer, write_buffer, record_separator
also need to get cloned.
Probably related to GH #1196
Commit: a7a05bbcd1c4b4be21717ff495d7ffaf3f4aefef
https://github.com/parrot/parrot/commit/a7a05bbcd1c4b4be21717ff495d7ffaf3f4aefef
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M src/gc/string_gc.c
M src/io/api.c
Log Message:
-----------
[gc] fix a MS segv in Parrot_io_write_s
When certain functions cause a GC, the local string buffers may get
moved away, but local STRING* variables or worse, strings inside a
StringHandle may still point to the old location.
Lock the GC then for this section, mostly during IO writing to string handles,
when the handle needs to realloc its buffer (the stringhandle).
But reading into a buffer is also problematic. we really should know the
size beforehand.
One way to fix GH #1196, lock the GC sweep in those cases.
The other variants would be:
- lock the whole GC via Parrot_block_GC_mark
- unset the PObj_is_movable flag in the STRING that it may not be moved,
as it is still locally referenced.
Remaining ms test failure: t/pmc/fixedstringarray.t
Commit: 3495f89bca409adc040f3869542d58b269da97e9
https://github.com/parrot/parrot/commit/3495f89bca409adc040f3869542d58b269da97e9
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M include/parrot/gc_api.h
M src/gc/api.c
M src/gc/gc_gms.c
M src/gc/gc_inf.c
M src/gc/gc_ms.c
M src/gc/gc_ms2.c
M src/gc/gc_private.h
M src/gc/string_gc.c
M src/io/api.c
M t/op/gc-non-recursive.t
Log Message:
-----------
[gc] Add Parrot_{un,}block_GC_move API #1197
and use it in the string_gc.c compaction code and the problem
in #1196.
run t/op/gc-non-recursive.t also with debugging, just with less loops
to catch more gc errors.
This does not work yet
Commit: 2d15dc37a9f9ddf8499bc9fc09bdd6054ae5b73e
https://github.com/parrot/parrot/commit/2d15dc37a9f9ddf8499bc9fc09bdd6054ae5b73e
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M src/gc/string_gc.c
Log Message:
-----------
[gc] replace -DRESOURCE_DEBUG in string_gc by -D101
Commit: a126c7d3d2f8bc5fbd48ae8a3c975f881cb2aba5
https://github.com/parrot/parrot/commit/a126c7d3d2f8bc5fbd48ae8a3c975f881cb2aba5
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M ChangeLog
Log Message:
-----------
ChangeLog: update for Parrot_{un,}block_GC_move API, travis
Commit: e451df3aff2af06ba8b4df999e187198bd71eb9d
https://github.com/parrot/parrot/commit/e451df3aff2af06ba8b4df999e187198bd71eb9d
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M t/steps/auto/warnings-01.t
Log Message:
-----------
[test] TODO fragile t/steps/auto/warnings-01.t
testing for -Wunreachable-code with --cage is fragile.
Commit: e7a1a837afbce6b1ebc3a33d9d634f3c11bee7ce
https://github.com/parrot/parrot/commit/e7a1a837afbce6b1ebc3a33d9d634f3c11bee7ce
Author: Reini Urban <[email protected]>
Date: 2015-10-19 (Mon, 19 Oct 2015)
Changed paths:
M ChangeLog
M api.yaml
Log Message:
-----------
api.yaml: add deprecation notice for GH #1179
Deprecated ListChunk GC API and src/list.c
Also update ChangeLog.
Compare: https://github.com/parrot/parrot/compare/25297e2c6a7f...e7a1a837afbc_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits