mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
507 B
17 lines
507 B
9 years ago
|
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.
|