1. A method for managing memory of a runtime environment executing in a virtual machine, the method comprising: generating immutable data associated with execution of an application in the runtime environment; deterministically arranging the immutable data within a first memory page assigned to the runtime environment; and notifying a virtualization layer that the first memory page containing the immutable data is a page sharing candidate.