Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Add new flag J9VM_OPT_JITSERVER to enable JITServer #16

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Add new flag J9VM_OPT_JITSERVER to enable JITServer #16

merged 1 commit into from
Feb 27, 2020

Conversation

ashu-mehra
Copy link

@ashu-mehra ashu-mehra commented Feb 25, 2020

The macro used for building JITServer in OpenJ9 is changed from
JITSERVER_SUPPORT to J9VM_OPT_JITSERVER. The makefile OpenJ9.mk
needs to be updated to set the correct env variable.
Older env variable JITSERVER_SUPPORT would be kept until changes
in OpenJ9 are not done to avoid any build breaks.

Signed-off-by: Ashutosh Mehra mehra.ashutosh@ibm.com

@ashu-mehra
Copy link
Author

@keithc-ca can you please review.

@ashu-mehra
Copy link
Author

See eclipse-openj9/openj9#8656 for related OpenJ9 change.

The macro used for building JITServer in OpenJ9 is changed from
JITSERVER_SUPPORT to J9VM_OPT_JITSERVER. The makefile OpenJ9.mk
needs to be updated to set the correct env variable.

Signed-off-by: Ashutosh Mehra <mehra.ashutosh@ibm.com>
@keithc-ca keithc-ca self-requested a review February 26, 2020 14:51
@keithc-ca keithc-ca self-assigned this Feb 26, 2020
@keithc-ca keithc-ca merged commit 9f796c2 into ibmruntimes:openj9 Feb 27, 2020
@pshipton
Copy link
Member

None of the jdk14 platforms which do not normally enable JITserver compile.
https://ci.eclipse.org/openj9/job/Build_JDK14_x86-64_windows_Nightly/22/
https://ci.eclipse.org/openj9/job/Build_JDK14_x86-64_mac_Nightly/23/
https://ci.eclipse.org/openj9/job/Build_JDK14_s390x_linux_Nightly/22/
fatal error: 'google/protobuf/io/zero_copy_stream_impl.h' file not found

else
FEATURE_SED_SCRIPT += $(call SedDisable,build_jitserver)
FEATURE_SED_SCRIPT += $(call SedEnable,opt_jitserver)
Copy link
Member

Choose a reason for hiding this comment

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

This should call SedDisable; once my local build completes. I'll open a pull request to fix it.

Copy link
Author

Choose a reason for hiding this comment

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

Right, my bad :(

Copy link
Member

Choose a reason for hiding this comment

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

Fixed via #18.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants