-
-
Notifications
You must be signed in to change notification settings - Fork 336
Use LIBPATH Environment Variable to Run Serviceability JVMTI Tests #6754
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
Conversation
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.
It is unclear why the -nativepath:"$(TESTIMAGE_PATH)/hotspot/jtreg/native" option a few lines above this change is not sufficient to run this target. Is there a description of the problem in an issue somewhere to refer to?
Hi @smlambert, |
fd36e0e to
10c28fc
Compare
A few notes to indicate why we should come at this in a different way:
I am wondering about making a change in the openjdk.mk file to achieve the desired outcome. Since this will not affect hotspot testing, but will affect openj9 and semeru testing, I will request a review from @pshipton. |
|
@Darshan-N3 pls make the change specific to z/OS by checking and setting a variable in openjdk.mk as Shelley suggested. |
|
I also notice serviceability_jdwp_j9 has the same native library setting, perhaps it needs the same change.
How does this work for any other playlist that uses native libraries? |
10c28fc to
c9f8be2
Compare
karianna
left a comment
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.
whitepsace
369b276 to
a3d99b2
Compare
a3d99b2 to
d588fb6
Compare
d588fb6 to
4040182
Compare
|
@smlambert is this change acceptable? |
smlambert
left a comment
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.
Thanks @Darshan-N3
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.
Hmm, one other way would be to just replace JVM_NATIVE_OPTIONS with -e LIBPATH=$(TESTIMAGE_PATH)$(D)hotspot$(D)jtreg$(D)native for OS/390, if the other -nativepath piece is ignored anyway
but I am fine to proceed with this, as its been tested. If this moves to changing all of the native test targets in the playlist, we may take that opportunity to combine and set into an existing variable.
Signed-off-by: Darshan N <[email protected]>
4040182 to
cd963d5
Compare
Use LIBPATH environment variable option to run serviceability jvmti tests
Signed-off-by: Darshan N [email protected]