-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add selected tracepoints for OpenJ9 -Xtrace #789
base: openj9
Are you sure you want to change the base?
Conversation
765150f
to
bba4349
Compare
bba4349
to
0cce3ba
Compare
Fixed compilation on AIX and Mac. |
0b66620
to
49366bd
Compare
/* These definitions required by j9.h are in the OpenJ9 jni.h, but OpenJDK jni.h is used here. */ | ||
struct GCStatus; | ||
typedef struct GCStatus GCStatus; | ||
struct JavaVMQuery; | ||
typedef struct JavaVMQuery JavaVMQuery; | ||
struct JVMExtensionInterface_; | ||
typedef const struct JVMExtensionInterface_ *JVMExt; | ||
|
||
#define COPY_PROGRESS_INFO_MASK 0 | ||
#if defined(AIX) | ||
#define AIXPPC | ||
#define RS6000 | ||
#endif /* defined(AIX) */ | ||
#if defined(MACOSX) | ||
#define OSX | ||
#endif /* defined(MACOSX) */ | ||
#if defined(WIN32) | ||
#define OMR_OS_WINDOWS | ||
#endif /* defined(WIN32) */ | ||
|
||
#include "j9.h" | ||
#include "tracehelp.c" |
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.
I think this sequence should be captured in a new header file (perhaps in openj9) to eliminate the repetition.
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.
Created jcltracepoints.h in the OpenJ9 include directory.
@paulcheeseman are you happy with these tracepoints? |
2336c23
to
aa11d15
Compare
The output you posted above looks good to me. |
a371faf
to
f757271
Compare
Depends on eclipse-openj9/openj9#20936 Issue https://github.ibm.com/runtimes/semeru-requests/issues/46 Signed-off-by: Peter Shipton <[email protected]>
f757271
to
4d785d5
Compare
Depends on eclipse-openj9/openj9#20936
Issue https://github.ibm.com/runtimes/semeru-requests/issues/46
Backport of ibmruntimes/openj9-openjdk-jdk21#243
Linux java(io) tracepoints
Linux net tracepoints
Linux nio tracepoints
Windows java(io) tracepoints
Windows net tracepoints
Windows nio tracepoints
xmac java(io) tracepoints
xmac net tracpoints
xmac nio tracepoints
AIX java(io) tracepoints
AIX net tracepoints
AIX nio tracepoints