A method of invalidating entries in a translation table in a computer system, said entries containing translation pairs comprising data to be translated and data representing a result of translation, each entry further holding an identification information for identifying a machine state, aid computer system having a register for storing a current identification information identifying a currently running machine state, and a compare circuit for comparing identification information from one entry of the translation table with the current identification information from aid register, wherein a translation pair from the one entry is used for the translation if said compare circuit detects coincidence, said method comprising the steps of:
- issuing an invalidation command for invalidating all translation table entries which hold the current identification information identifying a currently running machine state whereby all the translation table entries with the current identification information are simultaneously disabled from being used in the translation;
- in response to the invalidation command, selecting a new identification information which has been used to identify neither the currently running machine state nor a past running machine state and assigning the selected new identification information to the currently running machine state;
- and,
- storing the selected new identification information int he register, whereby said currently running machine state is reidentifies by the selected new identification information whereby the compare circuit cannot detect coincidence between the selected new identification stored in the register and the identification information of entries stored in the translation table, thereby rendering the entries invalid.