Stale pointer detection with overlapping versioned memory
AssigneeOracle International Corporation
InventorsRaj Prakash, Sheldon M. Lobo
Life of this patent
Estimating the term…
Abstract
In general, in one aspect, the invention relates to a method for managing virtual memory (VM). The method includes receiving, from an application, a first access request comprising a first VM address identifying a VM location, obtaining a current VM location version value for the VM location, obtaining a first submitted VM location version value from the first VM address, and in response to a determination that the current VM location version value and the first submitted VM location version value match: servicing the first access request using the first VM address.
Claims20
A method for managing virtual memory (VM) comprising:
- receiving, from an application, a first access request comprising a first VM address identifying a VM location;
- obtaining a current VM location version value for the VM location;
- obtaining a first submitted VM location version value from the first VM address;
- and
- in response to a determination that the current VM location version value and the first submitted VM location version value match:
- servicing the first access request using the first VM address.
A non-transitory computer readable medium comprising instructions that, when executed by a processor, perform a method for managing virtual memory (VM), the method comprising:
- receiving, from an application, a first access request comprising a first VM address identifying a VM location;
- obtaining a current VM location version value for the VM location;
- obtaining a first submitted VM location version value from the first VM address;
- and
- in response to a determination that the current VM location version value and the first submitted VM location version value match:
- service the first access request using the first VM address.
A system comprising:
- physical memory;
- a virtual memory (VM) manager configured to:
- receive, from an application, an access request comprising a VM address corresponding to a VM location;
- obtain a current VM location version value for the VM location;
- obtain a submitted VM location version value from the VM address;
- a central processing unit configured to:
- in response to a determination that the current VM location version value and the submitted VM location version value match, service the access request using the VM address.
Dependencies are inferred from the claim text.