summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlhacktips.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlhacktips.pod b/pod/perlhacktips.pod
index 6c335507ce..dba0d405ff 100644
--- a/pod/perlhacktips.pod
+++ b/pod/perlhacktips.pod
@@ -1460,10 +1460,11 @@ L<perlclib>.
Under ithreads the optree is read only. If you want to enforce this, to
check for write accesses from buggy code, compile with
-C<-DPL_OP_SLAB_ALLOC> to enable the OP slab allocator and
+C<-DPL_OP_SLAB_ALLOC> to enable the old OP slab allocator and
C<-DPERL_DEBUG_READONLY_OPS> to enable code that allocates op memory
-via C<mmap>, and sets it read-only at run time. Any write access to an
-op results in a C<SIGBUS> and abort.
+via C<mmap>, and sets it read-only at run time. (PERL_DEBUG_READONLY_OPS
+has not been rewritten for the new slab allocator, so op trees may leak.)
+Any write access to an op results in a C<SIGBUS> and abort.
This code is intended for development only, and may not be portable
even to all Unix variants. Also, it is an 80% solution, in that it