openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

Use RSSReport class

Open gita-omr opened this issue 1 year ago • 7 comments
trafficstars

Depends on: https://github.com/eclipse/omr/pull/7349

gita-omr avatar May 28 '24 01:05 gita-omr

I'm not sure it makes sense for this to go into 0.46 since this seems to be a non functional (i.e., reporting) feature rather than a bug fix, esp since the depending OMR change likely needs some non-trivial changes. Is there a strong reason to get this into 0.46?

dsouzai avatar May 29 '24 15:05 dsouzai

I'm not sure it makes sense for this to go into 0.46 since this seems to be a non functional (i.e., reporting) feature rather than a bug fix, esp since the depending OMR change likely needs some non-trivial changes. Is there a strong reason to get this into 0.46?

I would say it does add a new feature (under an option). We planned to get it into 0.46 - just were a bit late.

gita-omr avatar May 31 '24 19:05 gita-omr

FYI there are conflicts that need to be resolved before this is merged.

I don't have any objection to putting this in 0.46 as long as this is merged to master and there are no resulting problems. My understanding is it's disabled by default, we haven't started any Milestone builds for 0.46 yet, and we're well in advance of M2. If we are putting it in, it would be nice to have it in before we start M1 builds next week.

pshipton avatar May 31 '24 19:05 pshipton

Addressed OMR comments and rebased.

gita-omr avatar Jun 02 '24 23:06 gita-omr

Thanks for the review. I will address it shortly. I decided to make this PR WIP and include ability to use this class from VM as well.

gita-omr avatar Jun 10 '24 14:06 gita-omr

Rebased.

gita-omr avatar Jun 12 '24 22:06 gita-omr

I think I addressed all the comments and I am not planning on adding any new interfaces to that class right now. @dsouzai @mpirvu could you please take another look?

gita-omr avatar Jun 20 '24 13:06 gita-omr

Track the whole Code Cache vs just cold part.

gita-omr avatar Jul 03 '24 18:07 gita-omr

Addressed latest comments

gita-omr avatar Jul 03 '24 18:07 gita-omr

Rebased

gita-omr avatar Jul 09 '24 02:07 gita-omr

Added check for rssReport != NULL inside jitAddNewLowToHighRSSRegion().

gita-omr avatar Jul 09 '24 23:07 gita-omr

Addressed latest comments

gita-omr avatar Jul 09 '24 23:07 gita-omr

The commits should be squashed into one.

mpirvu avatar Jul 10 '24 00:07 mpirvu

Squashed all the commits.

gita-omr avatar Jul 10 '24 14:07 gita-omr

jenkins test sanity.functional all jdk21

dsouzai avatar Jul 11 '24 13:07 dsouzai

@gita-omr the builds are failing due to:

[2024-07-11T14:05:10.969Z] In file included from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/control/CompilationThread.hpp:38,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/net/ServerStream.hpp:29,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/control/CompilationRuntime.hpp:45,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/../compiler/codegen/J9CodeGenerator.hpp:45,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/x/codegen/J9CodeGenerator.hpp:26,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/x/amd64/codegen/J9CodeGenerator.hpp:39,
[2024-07-11T14:05:10.969Z]                  from /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/codegen/CodeGenGC.cpp:34:
[2024-07-11T14:05:10.970Z] /home/jenkins/workspace/Build_JDK21_x86-64_linux_Personal/openj9/runtime/compiler/runtime/DataCache.hpp:29:10: fatal error: runtime/OMRRSSReport.hpp: No such file or directory
[2024-07-11T14:05:10.970Z]    29 | #include "runtime/OMRRSSReport.hpp"
[2024-07-11T14:05:10.970Z]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
[2024-07-11T14:05:10.970Z] compilation terminated.

dsouzai avatar Jul 11 '24 14:07 dsouzai

This PR will conflict with https://github.com/eclipse-openj9/openj9/pull/19850 once that's been merged.

dsouzai avatar Jul 11 '24 17:07 dsouzai

Rebased and removed dependency from the description.

gita-omr avatar Jul 11 '24 23:07 gita-omr

Not sure why OMRRSSReport.hpp was not found. Maybe eclipse/omr#7349 was not picked up by the build yet.

gita-omr avatar Jul 11 '24 23:07 gita-omr

jenkins compile xlinux jdk21

dsouzai avatar Jul 12 '24 12:07 dsouzai

jenkins test sanity.functional all jdk21

dsouzai avatar Jul 12 '24 14:07 dsouzai

The windows build failure seems to be unrelated.

gita-omr avatar Jul 13 '24 02:07 gita-omr

The windows build failure seems to be unrelated.

Windows machines are all down right now. Everything else passed so will merge.

dsouzai avatar Jul 16 '24 13:07 dsouzai