Skip to content

Commit

Permalink
Merge pull request #4173 from a7ehuo/addJITServer
Browse files Browse the repository at this point in the history
Prepare JITaaS to be replaced with JITServer
  • Loading branch information
Leonardo2718 authored Aug 1, 2019
2 parents ee5b41a + 64f65f1 commit de01c38
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,8 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
{"enableJITaaSHeuristics", "O\tenable JITaaS heuristics", SET_OPTION_BIT(TR_EnableJITaaSHeuristics), "F"},
{"enableJITHelpershashCodeImpl", "O\tenable java version of object hashCode()", SET_OPTION_BIT(TR_EnableJITHelpershashCodeImpl), "F"},
{"enableJITHelpersoptimizedClone", "O\tenable java version of object clone()", SET_OPTION_BIT(TR_EnableJITHelpersoptimizedClone), "F"},
{"enableJITServerFollowRemoteCompileWithLocalCompile", "O\tenable JITServer to perform local compilations for its remotely compiled methods", SET_OPTION_BIT(TR_JITServerFollowRemoteCompileWithLocalCompile), "F"},
{"enableJITServerHeuristics", "O\tenable JITServer heuristics", SET_OPTION_BIT(TR_EnableJITServerHeuristics), "F"},
{"enableJProfiling", "O\tenable JProfiling", SET_OPTION_BIT(TR_EnableJProfiling), "F"},
{"enableJProfilingInProfilingCompilations","O\tuse jprofiling instrumentation in profiling compilations", SET_OPTION_BIT(TR_EnableJProfilingInProfilingCompilations), "F"},
{"enableJVMPILineNumbers", "M\tenable output of line numbers via JVMPI", SET_OPTION_BIT(TR_EnableJVMPILineNumbers), "F"},
Expand Down Expand Up @@ -4784,6 +4786,7 @@ char *OMR::Options::_verboseOptionNames[TR_NumVerboseOptions] =
"sampleDensity",
"profiling",
"JITaaS",
"JITServer",
"aotcompression",
};

Expand Down
3 changes: 3 additions & 0 deletions compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ enum TR_CompilationOptions
TR_DisableCompilationThread = 0x00008000 + 3,
TR_EnableCompilationThread = 0x00010000 + 3,
TR_EnableJITaaSHeuristics = 0x00020000 + 3,
TR_EnableJITServerHeuristics = 0x00020000 + 3,
TR_SoftFailOnAssume = 0x00040000 + 3,
TR_DisableNewBlockOrdering = 0x00080000 + 3,
TR_DisableZNext = 0x00100000 + 3,
Expand Down Expand Up @@ -336,6 +337,7 @@ enum TR_CompilationOptions
TR_OldJVMPI = 0x00000080 + 8,
TR_EmitExecutableELFFile = 0x00000100 + 8,
TR_EnableJITaaSDoLocalCompilesForRemoteCompiles = 0x00000200 + 8,
TR_JITServerFollowRemoteCompileWithLocalCompile = 0x00000200 + 8,
// Available = 0x00000800 + 8,
TR_DisableLinkageRegisterAllocation = 0x00001000 + 8,
// Available = 0x00002000 + 8,
Expand Down Expand Up @@ -1138,6 +1140,7 @@ enum TR_VerboseFlags
TR_VerboseSampleDensity,
TR_VerboseProfiling,
TR_VerboseJITaaS,
TR_VerboseJITServer,
TR_VerboseAOTCompression,
//If adding new options add an entry to _verboseOptionNames as well
TR_NumVerboseOptions // Must be the last one;
Expand Down
3 changes: 2 additions & 1 deletion compiler/env/VerboseLog.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -62,6 +62,7 @@ const char * TR_VerboseLog::_vlogTable[] =
"#RECLAMATION: ",
"#PROFILING: ",
"#JITaaS: ",
"#JITServer: ",
"#AOTCOMPRESSION: ",
};

Expand Down
3 changes: 2 additions & 1 deletion compiler/env/VerboseLog.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -70,6 +70,7 @@ enum TR_VlogTag
TR_Vlog_RECLAMATION,
TR_Vlog_PROFILING,
TR_Vlog_JITaaS,
TR_Vlog_JITServer,
TR_Vlog_AOTCOMPRESSION,
TR_Vlog_numTags
};
Expand Down

0 comments on commit de01c38

Please sign in to comment.