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

Add launcher for JITServer (0.18.0) #8249

Merged
merged 1 commit into from Jan 8, 2020

Conversation

mpirvu
Copy link
Contributor

@mpirvu mpirvu commented Jan 8, 2020

Added a new JITServer interface that provides APIs for starting
the JITServer. It is used by jitserver launcher to start the JITServer.
This allows elimination of '-XX:StartAsJITServer' option.
All the new code related to JITServer launcher is guarded with
JITSERVER_SUPPORT macro.
A new flag 'build_jitserver' in j9.flags has been added which
translates to J9VM_BUILD_JITSERVER macro.
In j9cfg.h.ftl if J9VM_BUILD_JITSERVER is defined then we define
the macro JITSERVER_SUPPORT.
Currently 'build_jitserver' flag is set to false on all buildspecs.
Only when '--enable-jitserver' is passed to the configure.sh when
building OpenJ9, 'build_jitserver' gets set to true in the buildspec
being used.

Cherry pick of #7940 for the 0.18.0 release.

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

Added a new JITServer interface that provides APIs for starting
the JITServer. It is used by jitserver launcher to start the JITServer.
This allows elimination of '-XX:StartAsJITServer' option.
All the new code related to JITServer launcher is guarded with
JITSERVER_SUPPORT macro.
A new flag 'build_jitserver' in j9.flags has been added which
translates to J9VM_BUILD_JITSERVER macro.
In j9cfg.h.ftl if J9VM_BUILD_JITSERVER is defined then we define
the macro JITSERVER_SUPPORT.
Currently 'build_jitserver' flag is set to false on all buildspecs.
Only when '--enable-jitserver' is passed to the configure.sh when
building OpenJ9, 'build_jitserver' gets set to true in the buildspec
being used.

Signed-off-by: Ashutosh Mehra <mehra.ashutosh@ibm.com>
@mpirvu mpirvu added the comp:jitserver Artifacts related to JIT-as-a-Service project label Jan 8, 2020
@mpirvu mpirvu added this to In progress in JIT as a Service via automation Jan 8, 2020
@pshipton pshipton self-assigned this Jan 8, 2020
@pshipton pshipton merged commit a4082ba into eclipse-openj9:v0.18.0-release Jan 8, 2020
JIT as a Service automation moved this from In progress to Done Jan 8, 2020
@mpirvu
Copy link
Contributor Author

mpirvu commented Jan 8, 2020

I believe we also need supporting changes from
ibmruntimes/openj9-openjdk-jdk8#350
and
ibmruntimes/openj9-openjdk-jdk11#239

@pshipton
Copy link
Member

pshipton commented Jan 8, 2020

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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants