[parrot/parrot] bcf4af: Move interp->thread_data_interp_lock down into the...

GitHub noreply at github.com
Thu Mar 29 10:01:47 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: bcf4afb4cbf161508110b3982899b5a11d612607
      https://github.com/parrot/parrot/commit/bcf4afb4cbf161508110b3982899b5a11d612607
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-03-28 (Wed, 28 Mar 2012)

  Changed paths:
    M examples/threads/moretasks.pir
  M src/gc/gc_gms.c
  M src/pmc/parrotinterpreter.pmc
  M src/scheduler.c
  M src/thread.c

  Log Message:
  -----------
  Move interp->thread_data_interp_lock down into the GC

Gives about a 3x performance increase on chameneos.pir but costs about
1.3% performance in single threaded workloads


  Commit: a899a185f01f892135ef16720fa9b68327096c79
      https://github.com/parrot/parrot/commit/a899a185f01f892135ef16720fa9b68327096c79
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-03-28 (Wed, 28 Mar 2012)

  Changed paths:
    M include/parrot/context.h
  M lib/Parrot/Pmc2c/Attribute.pm
  M src/call/context.c
  M src/ops/core_ops.c
  M src/ops/var.ops
  M src/pmc/namespace.pmc
  M src/pmc/proxy.pmc
  M src/string/api.c

  Log Message:
  -----------
  Many more orig_interp assertions


  Commit: d5b70798c82ad5bdfc17566ee9e44e3d96775bf8
      https://github.com/parrot/parrot/commit/d5b70798c82ad5bdfc17566ee9e44e3d96775bf8
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-03-28 (Wed, 28 Mar 2012)

  Changed paths:
    M include/parrot/interpreter.h
  M include/parrot/pobj.h
  M lib/Parrot/Pmc2c/PMC/Proxy.pm
  M src/gc/gc_gms.c
  M src/pmc.c
  M src/pmc/proxy.pmc

  Log Message:
  -----------
  Use a flag to determine the origins of a PMC in Proxy


  Commit: 5f59f3f9c141f56226666e14d0bc17fd5c0830a6
      https://github.com/parrot/parrot/commit/5f59f3f9c141f56226666e14d0bc17fd5c0830a6
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-03-28 (Wed, 28 Mar 2012)

  Changed paths:
    M include/parrot/gc_api.h
  M include/parrot/pobj.h
  M lib/Parrot/Pmc2c/Attribute.pm
  M lib/Parrot/Pmc2c/PMC/Proxy.pm
  M src/call/context.c
  M src/gc/api.c
  M src/gc/gc_gms.c
  M src/oo.c
  M src/ops/core_ops.c
  M src/ops/var.ops
  M src/pmc/namespace.pmc
  M src/pmc/proxy.pmc
  M src/scheduler.c
  M src/thread.c

  Log Message:
  -----------
  Make orig_interp depend on a THREAD_DEBUG define

Since orig_interp is now only used for debug assertions, make it depend
on a #define to regain some lost performance ground


Compare: https://github.com/parrot/parrot/compare/7c2054e...5f59f3f


More information about the parrot-commits mailing list