-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for storing all IProfile info to SCC at shutdown #20886
Conversation
The IProfiler does not profile direct calls. However, the optimizer may create artificial profiler entries when it calls setCallCount(). These artificial entries are marked to be non-persistent and we only set the frequency (totalCount) ignoring the class of the method that is called. This commit also records the class of the method to be called. Doing so does not require additional storage. Signed-off-by: Marius Pirvu <[email protected]>
This change will allow createBalancedBST to be called from places where the Compilation object is not readily available. Signed-off-by: Marius Pirvu <[email protected]>
The goal is to use the code from TR_AggregationHT in more places (for instance for dumping all IProfiler info into the SCC). Signed-off-by: Marius Pirvu <[email protected]>
Signed-off-by: Marius Pirvu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks fine to me, just had a few questions.
I have eliminated the comments that were not needed. |
jenkins test sanity.functional jdk8,jdk21 all |
jenkins test sanity.functional all jdk8,jdk21 |
There are compilation errors on non-linux platforms:
|
This commit implements the TR_IProfiler::persistAllEntries() method which can write all IProfiler entries into the SCC on a ROMMethod by ROMMethod basis. Signed-off-by: Marius Pirvu <[email protected]>
jenkins compile aix jdk21 |
jenkins test sanity.functional jdk8,jdk21 all |
jenkins test sanity.functional all jdk8,jdk21 |
Build on AIX failed due to infra
but it did pass on a previous build attempt: #20886 (comment) |
This PR implements: