summaryrefslogtreecommitdiff
path: root/mg_vtable.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2012-12-18 23:41:29 +0000
committerDavid Mitchell <davem@iabyn.com>2012-12-18 23:45:17 +0000
commitfe54beba3a096a44113f13da9f1b10564e27a60a (patch)
treeb33b698fcee70bd5cb053d1fb8a901055b9993ea /mg_vtable.h
parent2e1be9f519db0c7cc2b3447c6fe9d7bd9abe5c03 (diff)
downloadperl-fe54beba3a096a44113f13da9f1b10564e27a60a.tar.gz
test the resetting of refcnt for immortals
PL_sv_undef etc get given a very high ref count, which if it ever reaches zero, is set back to a high value. On debugging builds, use a lower value (1000) so that the resetting code gets exercised occasionally. Also, replace literal (~(U32)0)/2 with the constant SvREFCNT_IMMORTAL.
Diffstat (limited to 'mg_vtable.h')
0 files changed, 0 insertions, 0 deletions