Browse Source

Metadata for mark-and-sweep finalizer torture opt

pull/278/merge
Sami Vaarala 9 years ago
parent
commit
a665b4b80a
  1. 16
      config/config-options/DUK_USE_MARKANDSWEEP_FINALIZER_TORTURE.yaml
  2. 2
      config/config-options/DUK_USE_REFZERO_FINALIZER_TORTURE.yaml

16
config/config-options/DUK_USE_MARKANDSWEEP_FINALIZER_TORTURE.yaml

@ -0,0 +1,16 @@
define: DUK_USE_MARKANDSWEEP_FINALIZER_TORTURE
introduced: 1.3.0
related:
- DUK_USE_GC_TORTURE
- DUK_USE_REFZERO_FINALIZER_TORTURE
default: false
tags:
- gc
- memory
- development
- torture
description: >
Development time option: simulate a fake finalizer call during every
mark-and-sweep round. This is useful to detect bugs caused by finalizer
side effects. Most useful when combined with DUK_USE_GC_TORTURE so that
potential finalizer side effects are realized on every allocation.

2
config/config-options/DUK_USE_REFZERO_FINALIZER_TORTURE.yaml

@ -1,5 +1,7 @@
define: DUK_USE_REFZERO_FINALIZER_TORTURE
introduced: 1.3.0
related:
- DUK_USE_MARKANDSWEEP_FINALIZER_TORTURE
default: false
tags:
- gc

Loading…
Cancel
Save