This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
const + static vtables in threads::shared
authorDaniel Dragan <bulk88@hotmail.com>
Mon, 5 Jan 2015 06:44:59 +0000 (01:44 -0500)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 6 Jan 2015 02:01:39 +0000 (18:01 -0800)
commit7105b7e7a5e49caa06b8d7ef71008838ec902227
tree2ae54d2541fc4d7d77428e41f29e37cf5b04b461
parent8f6555bff69aad4eb533180c58c453f210dab66b
const + static vtables in threads::shared

This makes threads::shared have no non-NULL initialized RW static data.
Uninitialized and NULL filled RW data like PL_sharedsv_space and
prev_signal_hook remain, but on some OSes/CCs (Win32 with special tweaks),
this means that now the RW data section in threads::shared shared library
has no disk representation. Static the remaining RW vars to trim the
symbol table on non-Win32.
dist/threads-shared/lib/threads/shared.pm
dist/threads-shared/shared.xs