Meaning: make a serious promise that you are telling the truth, so serious that you are putting your life into the promise.
Example: His mother asked him if his room was clean. He said, cross my heart and hope to die. His mother took one look at the room and punished him. See this Idiom in a story: Valentine's Day Going on a Date