Branch: refs/heads/smoke-me/gcdebug-ms-gh1196
  Home:   https://github.com/parrot/parrot
  Commit: 3ae0e321ddc95ba3ff7e43c24768fe7c2dbad3b2
      
https://github.com/parrot/parrot/commit/3ae0e321ddc95ba3ff7e43c24768fe7c2dbad3b2
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M t/steps/init/optimize-01.t

  Log Message:
  -----------
  [test] fix t/steps/init/optimize-01.t for -O3

the optimization level needs to be the perl5 derived one
or now also -O3


  Commit: c491e9ccc46aac2eefe185319908d7166896a3b3
      
https://github.com/parrot/parrot/commit/c491e9ccc46aac2eefe185319908d7166896a3b3
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M ChangeLog
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] change StringBuilder overallocation

by 1.5, not 2. And for >8192 onto the next block size.
The optimal overallocation is the golden ration 1.618, but we prefer int ops.
A difference is not measurable.


  Commit: 6f1a676b967612ff677f125b708c5e466c2d6b40
      
https://github.com/parrot/parrot/commit/6f1a676b967612ff677f125b708c5e466c2d6b40
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] disable 2x StringBuilder.substr clone, GH #1123

STRING_substr already creates a copy for us, no need to copy it twice.
no regression.

Note that t/stress/gc.t started failing earlier, even in 7.0.0.


  Commit: 06cee234e51d52050cd096e375c2043de3275732
      
https://github.com/parrot/parrot/commit/06cee234e51d52050cd096e375c2043de3275732
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] StringBuilder.substr needs no WB

GH #1123. 1.14% faster


  Commit: 4b969fee91ee1dfeca0a4e7733750aacaa684317
      
https://github.com/parrot/parrot/commit/4b969fee91ee1dfeca0a4e7733750aacaa684317
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] Avoid StringBuilder copies on set_pmc, ...

and push_pmc, i_concatenate, when the arg is a StringBuilder
PMC already. 0.5% faster.


  Commit: cb4546be146d57ca5297034dee751821b207b642
      
https://github.com/parrot/parrot/commit/cb4546be146d57ca5297034dee751821b207b642
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/io/stringhandle.c

  Log Message:
  -----------
  [core] optimize io_stringhandle_write_b

Reuse write buffer if large enough. This happens very often.
But surpringly no perf. improvement measurable.


  Commit: 02b34283b81ae67af6bf73653104db98c2d899c7
      
https://github.com/parrot/parrot/commit/02b34283b81ae67af6bf73653104db98c2d899c7
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M t/src/extend.t

  Log Message:
  -----------
  [test] un-todo t/src/extend.t 19 on darwin

not repro anymore, at least with yosemite.
GH #856 SIGABRT with darwin threads


  Commit: fb96c9d6e6c005182b451b4d7747eafa70bc8cd8
      
https://github.com/parrot/parrot/commit/fb96c9d6e6c005182b451b4d7747eafa70bc8cd8
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/pmc/resizablepmcarray.pmc

  Log Message:
  -----------
  [pmc] rpa gc optimizations

Re-enable the status from 6.11.0, not too many write barriers in
ResizablePMCArray methods. Not in shift as we only move the offset
and only when needed in resize.
But it does not give us back the lost 13% in parrot-bench, from 6.11
to 7.0.


  Commit: 4f9c39af6f17c83b7a31d433b7567070484433f5
      
https://github.com/parrot/parrot/commit/4f9c39af6f17c83b7a31d433b7567070484433f5
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M ChangeLog
    M include/parrot/io.h
    M include/parrot/runcore_trace.h
    M src/gc/gc_ms2.c
    M src/gc/gc_private.h
    M src/io/api.c
    M src/io/buffer.c
    M src/io/io_private.h
    M src/io/socket.c
    M src/io/stringhandle.c
    M src/io/utilities.c
    M src/runcore/trace.c

  Log Message:
  -----------
  [cage] const io api arguments

also add an easier str dumper for -D100 gc tracings,
currenty only on ms2.


  Commit: ced642ad41ab60cb24a6548ca2983bda779614a1
      
https://github.com/parrot/parrot/commit/ced642ad41ab60cb24a6548ca2983bda779614a1
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/parrot/io.h
    M src/io/io_private.h
    M src/io/pipe.c
    M src/io/stringhandle.c
    M src/io/utilities.c

  Log Message:
  -----------
  [cage] more const io api arguments


  Commit: f7da2cbb50a155ef49598a86aa31ce17dff078e8
      
https://github.com/parrot/parrot/commit/f7da2cbb50a155ef49598a86aa31ce17dff078e8
  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/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/platform/generic/io.c

  Log Message:
  -----------
  [cage] more const io api arguments

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: 700e7d1dee0012173574e1cd7fc769a769adc0e6
      
https://github.com/parrot/parrot/commit/700e7d1dee0012173574e1cd7fc769a769adc0e6
  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: 981e6292289f63b646b92a553903842d9d087dee
      
https://github.com/parrot/parrot/commit/981e6292289f63b646b92a553903842d9d087dee
  Author: Reini Urban <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/parrot/io.h
    M src/io/api.c
    M src/pmc/filehandle.pmc

  Log Message:
  -----------
  [cage] even more const io api arguments


  Commit: 17cfb32b669138f9b76a5e81ef0390194014f0a3
      
https://github.com/parrot/parrot/commit/17cfb32b669138f9b76a5e81ef0390194014f0a3
  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: cbf9d04c1be77d691b8c3d9a58c4ba83af4d22f2
      
https://github.com/parrot/parrot/commit/cbf9d04c1be77d691b8c3d9a58c4ba83af4d22f2
  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: b96b3947de94f4eb1bc6fa443ef967702a0a988f
      
https://github.com/parrot/parrot/commit/b96b3947de94f4eb1bc6fa443ef967702a0a988f
  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: e5bd295027efef1ca4daaaaece1549da453ae8c5
      
https://github.com/parrot/parrot/commit/e5bd295027efef1ca4daaaaece1549da453ae8c5
  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: 782a260eca0649b7277e89cc5dafbde9d471f64f
      
https://github.com/parrot/parrot/commit/782a260eca0649b7277e89cc5dafbde9d471f64f
  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: 62fdb843349307055f36f48f9bcca3d46eeba6bf
      
https://github.com/parrot/parrot/commit/62fdb843349307055f36f48f9bcca3d46eeba6bf
  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: f94e2bd496dfebece44817e0fe04b7ebf8501722
      
https://github.com/parrot/parrot/commit/f94e2bd496dfebece44817e0fe04b7ebf8501722
  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: 3e7d171cdec0d9b23daf10e49107ea1d77a148d5
      
https://github.com/parrot/parrot/commit/3e7d171cdec0d9b23daf10e49107ea1d77a148d5
  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: 2c5ca84be242d4d151fc2340ee93906b5056a294
      
https://github.com/parrot/parrot/commit/2c5ca84be242d4d151fc2340ee93906b5056a294
  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


Compare: https://github.com/parrot/parrot/compare/84bc7ec24d1e...2c5ca84be242
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits

Reply via email to