-
公开(公告)号:CA2756041C
公开(公告)日:2019-02-19
申请号:CA2756041
申请日:2011-10-21
Applicant: IBM
Inventor: CAMPBELL NEIL A , NORTH GERAINT , WOODWARD GRAHAM
Abstract: A dynamic binary translator apparatus, method and program for translating a first block of binary computer code intended for execution in a subject execution environment having a first memory of one page size into a second block for execution in a second execution environment having a second memory of another page size, comprising a redirection page mapper responsive to a page characteristic of the first memory for mapping an address of the first memory to an address of the second memory; a memory fault behaviour detector operable to detect memory faulting during execution of the second block and to accumulate a fault count to a trigger threshold; and a regeneration component responsive to the fault count reaching the trigger threshold to discard the second block and cause the first block to be retranslated with its memory references remapped by a page table walk.
-
公开(公告)号:CA2756041A1
公开(公告)日:2012-05-10
申请号:CA2756041
申请日:2011-10-21
Applicant: IBM
Inventor: CAMPBELL NEIL A , NORTH GERAINT , WOODWARD GRAHAM
Abstract: A dynamic binary translator apparatus, method and program for translating a first block of binary computer code intended for execution in a subject execution environment having a first memory of one page size into a second block for execution in a second execution environment having a second memory of another page size, comprising a redirection page mapper responsive to a page characteristic of the first memory for mapping an address of the first memory to an address of the second memory; a memory fault behaviour detector operable to detect memory faulting during execution of the second block and to accumulate a fault count to a trigger threshold; and a regeneration component responsive to the fault count reaching the trigger threshold to discard the second block and cause the first block to be retranslated with its memory references remapped by a page table walk.
-