3 ms·
The things that caught my eye were both related to IBM hardware features. Firstly, apparently IBM chips have hardware transactional memory now: PowerPC / Po
by twic 13y ago
The things that caught my eye were both related to IBM hardware features.
Firstly, apparently IBM chips have hardware transactional memory now:
PowerPC / PowerPC64 / RS6000
GCC now supports Power ISA 2.07, which includes support
for Hardware Transactional Memory (HTM)
S/390, System z
Support for the Transactional Execution Facility
included with the IBM zEnterprise zEC12 processor has
been added.
That's pretty cool.
Also on the 390:
S/390, System z
The hotpatch features allows to prepare functions for
hotpatching. A certain amount of bytes is reserved
before the function entry label plus a NOP is inserted
at its very beginning to implement a backward jump when
applying a patch. The feature can either be enabled via
command line option -mhotpatch for a compilation unit
or can be enabled per function using the hotpatch
attribute.
I guess if you're doing high availability the mainframe way, you don't get to restart your apps to patch them. That's terrifying, but again, pretty cool.
- revelation 13y agoWindows system DLLs have pointless "mov edi, edi" instructions in function prologues to enable hotpatching. It's not just mainframes ;)
- maximilianburke 13y agoYes, MSVC does this when the /hotpatch command line option is provided.
- jodrellblank 13y agoWhich I recently read about on Raymond Chen's blog. Link: http://blogs.msdn.com/b/oldnewthing/archive/2011/09/21/10214405.aspx http://blogs.msdn.com/b/oldnewthing/archive/2011/09/21/10214...
- gsnedders 13y agoOne of the large design-constraints of Erlang is being able to hotpatch, given the uptime requirements for telephone switching.
- apaprocki 13y agoYou can read quick slides about the POWER8 transactional memory and general feature comparison here: https://www-950.ibm.com/events/wwe/grp/grp030.nsf/vLookupPDFs/Tour%20P8%20Charts/$file/Tour%20P8%20Charts.pdf https://www-950.ibm.com/events/wwe/grp/grp030.nsf/vLookupPDF...