Skip to content
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

Fix some include warnings in JITServer #20719

Merged

Conversation

cjjdespres
Copy link
Contributor

These headers mention certain types but do not include the relevant headers for them. This does not yet cause a compilation error because all of their use sites are coincidentally only after those headers have been included.

@cjjdespres cjjdespres requested a review from dsouzai as a code owner November 29, 2024 18:14
@cjjdespres
Copy link
Contributor Author

Attn @mpirvu. Just a small change to avoid some warnings I've been getting. I also removed an unused include in Communication.hpp at the same time.

@@ -26,7 +26,7 @@
#include <unistd.h>
#include "net/LoadSSLLibs.hpp"
#include "net/Message.hpp"
#include "infra/Statistics.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Statistics.hpp is still needed for

#if defined(MESSAGE_SIZE_STATS)
   static TR_Stats _msgSizeStats[MessageType::MessageType_MAXTYPE];
#endif /* defined(MESSAGE_SIZE_STATS) */

@mpirvu mpirvu self-assigned this Nov 29, 2024
@mpirvu mpirvu added the comp:jitserver Artifacts related to JIT-as-a-Service project label Nov 29, 2024
These headers mention certain types but do not include the relevant
headers for them. This does not yet cause a compilation error because
all of their use sites are coincidentally only after those headers have
been included.

Signed-off-by: Christian Despres <[email protected]>
@cjjdespres cjjdespres force-pushed the jitserver-include-warnings branch from 09a1794 to c21f5ee Compare November 29, 2024 23:33
@mpirvu
Copy link
Contributor

mpirvu commented Nov 30, 2024

jenkins compile all jdk8,jdk23

@mpirvu mpirvu merged commit 7576b59 into eclipse-openj9:master Dec 1, 2024
14 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jitserver Artifacts related to JIT-as-a-Service project
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants