Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two helpers for OSR related optimizations
- Add a helper named osrFearPointHelper to mark an OSR fear point, a place that has been optimized with runtime assumptions and requires protection of OSR points. This helper helps to locate actual fear points, which as part of the program can be optimized, and allows the separation of OSR dependant optimization and OSR guard insertion. - Add a helper named potentialOSRPointHelper to serve as a marker of OSR points. Currently, OSR points consist of calls, asyncchecks and monitor enters. As part of the program, they can be optimized and no longer be identified as OSR points. However, places where they reside may still be OSR possible. This helper works as a bookkeeping tool to track place that are OSR possible. - Fix some node APIs such that doNotProfile is set only for nodes created during ilgen. doNotProfile on a bytecode info is looked at by OSR APIs to determine if a node is created in ilgen. Only nodes created in ilgen will have the OSR bookkeeping and are able to support OSR transition. Thus, nodes created after ILGen supposed to have doNotProfile set and cannot be OSR points. Signed-off-by: Liqun Liu <liqunl@ca.ibm.com>
- Loading branch information
Liqun Liu
committed
Nov 6, 2018
1 parent
3bb131c
commit dce02fc
Showing
9 changed files
with
275 additions
and
3 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
Oops, something went wrong.