JAL-1369 mark reference sequence & view state and restore it