Skip to content

Commit

Permalink
Config option changes for refzero torture
Browse files Browse the repository at this point in the history
  • Loading branch information
svaarala committed Aug 28, 2015
1 parent 93a8462 commit 2ffd6ff
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ default: false
tags:
- debugger
- development
- torture
description: >
Development time option: force debugger transport torture. Concretely this
now causes Duktape to read/write debug protocol data in 1-byte increments,
Expand Down
1 change: 1 addition & 0 deletions config/config-options/DUK_USE_GC_TORTURE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tags:
- gc
- memory
- development
- torture
description: >
Development time option: force full mark-and-sweep on every allocation to
stress test memory management.
Expand Down
12 changes: 12 additions & 0 deletions config/config-options/DUK_USE_REFZERO_FINALIZER_TORTURE.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
define: DUK_USE_REFZERO_FINALIZER_TORTURE
introduced: 1.3.0
default: false
tags:
- gc
- memory
- development
- torture
description: >
Development time option: simulate a fake finalizer call for every object
going through refzero freeing. This is useful to detect bugs caused by
finalizer side effects in e.g. call handling.
1 change: 1 addition & 0 deletions config/config-options/DUK_USE_SHUFFLE_TORTURE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tags:
- gc
- memory
- development
- torture
description: >
Development time option: force compiler to shuffle every possible opcode
to stress shuffle behavior which is otherwise difficult to test for
Expand Down
6 changes: 6 additions & 0 deletions config/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ fastpath:

cstackdepth:
title: C stack depth

torture:
title: Development time torture options
description: >
Development time options to stress test corner case handling by e.g.
causing a garbage collection on every allocation.

0 comments on commit 2ffd6ff

Please sign in to comment.