Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Known Object Table at JITServer
Add KnownObjectTable::updateKnownObjectTableAtServer() which is used to update KOT at the server. Remove getfPointerLocationAt() which is not used any where. Add Compilation::isOutOfProcessCompilation() which returns true only when it’s called at the server. Compilation::isOutOfProcessCompilation() is used to prevent KOT from being used in OMR code at the server where the object pointer needs to be dereferened. Replace the direct dereference of getPointerLocation() with getPointer(). When getPointer() is called at the server, it sends a message to the client to dereference it with the proper VM access. Although there are a few places the known object pointers are dereferenced directly, it shouldn't cause any issue if the critical section is created with VMAccessCriticalSection::tryToAcquireVMAccess, because at the server the VM access will not be granted. Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
- Loading branch information
Showing
7 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters